My turn for a dumb question
-
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersPSSST. VSTT :) David
-
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersHello, Look into the SendKeys.Send() of VB .Net. You could tell it to press tab 5 times, and then enter, etc. to select your keys. I know that you could do it in C++, but VB .Net has direct access to it is a lot simpler. Now I run to the Arctics before the Anti-VB crew attacks me. :~ Put code like this into a button on a form in VB...
SendKeys.Send("{TAB}") 'Tab SendKeys.Send("{ENTER}") 'Enter SendKeys.Send("VALUE") 'Text Value
Look for the "SendKeys.Send method" in help for a full listing... Running, running, running, running, not close to the North Pole yet, must keep going... :rolleyes: Mitch My sig: "And it is a professional faux pas to pay someone else to destroy your computer when you are perfectly capable of destroying it yourself." - Roger Wright Get Perpendicular! (Hitachi Storage) My CodeProject Blog Most recent blog post: April 11
-
Marc Clifton wrote: Does anyone know of a scriptable mouse/keystroke inserter I know one inserter, but he is a guy and u need to pay him. why dont you outsource your task and give it to a guy who needs job!;P Pravar My Image Processing Article! Rate it!!
Pravarakhya wrote: I know one inserter, but he is a guy and u need to pay him. why dont you outsource your task and give it to a guy who needs job! haha. I'm looking for something a bit more automated, more easily configurable, and with better response time. ;P Marc My website
Latest Articles: Object Comparer String Helpers -
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersMarc Clifton wrote: efficiently lazy there is a nice word for that, economizing :) xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
-
Hello, Look into the SendKeys.Send() of VB .Net. You could tell it to press tab 5 times, and then enter, etc. to select your keys. I know that you could do it in C++, but VB .Net has direct access to it is a lot simpler. Now I run to the Arctics before the Anti-VB crew attacks me. :~ Put code like this into a button on a form in VB...
SendKeys.Send("{TAB}") 'Tab SendKeys.Send("{ENTER}") 'Enter SendKeys.Send("VALUE") 'Text Value
Look for the "SendKeys.Send method" in help for a full listing... Running, running, running, running, not close to the North Pole yet, must keep going... :rolleyes: Mitch My sig: "And it is a professional faux pas to pay someone else to destroy your computer when you are perfectly capable of destroying it yourself." - Roger Wright Get Perpendicular! (Hitachi Storage) My CodeProject Blog Most recent blog post: April 11
Yeah, I was reading about SendInput API, and I've perused a few articles here on CP, but they're not what I'm looking for, from the looks of it. I'm looking for something that is separate from my app. Thanks! Marc My website
Latest Articles: Object Comparer String Helpers -
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersMarc, I only played around with this a little when the article came out, but this might be useful. http://msdn.microsoft.com/msdnmag/issues/02/03/Bugslayer/[^]
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
-
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersI've used NUnitForms[^] in the past and it works great, and it can produce unit tests. If you only need powerful automation and can afford such a tool, Automate[^] is the best tool you can find! I see dead pixels Yes, even I am blogging now!
-
Yeah, I was reading about SendInput API, and I've perused a few articles here on CP, but they're not what I'm looking for, from the looks of it. I'm looking for something that is separate from my app. Thanks! Marc My website
Latest Articles: Object Comparer String HelpersHello, It can work separate from your current application. The only limitation is that while the keys are being sent your application must be active or else a different application will start recieving and performing the key combinations. A solution would be to have a Timer that waits 2 seconds from the time you press a "send key" button so that you have been given enough time to get your application active. Hope this helps, Mitch My sig: "And it is a professional faux pas to pay someone else to destroy your computer when you are perfectly capable of destroying it yourself." - Roger Wright Get Perpendicular! (Hitachi Storage) My CodeProject Blog Most recent blog post: April 11
-
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersSee if you can dig up an old copy of the Windows 3.11 Macro recorder ;-) Michael CP Blog [^] Development Blog [^]
-
Marc, I only played around with this a little when the article came out, but this might be useful. http://msdn.microsoft.com/msdnmag/issues/02/03/Bugslayer/[^]
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
For some reason I like this product... :laugh: The tigress is here :-D
-
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersI have a co-worker who's using Perfect Keyboard[^] to do some automation work with a really crappy title/escrow application. If it'll work with this app, it'll work with anything. :) [UPDATE]He's also looked at Macro Express[^]. But I think he said he preferred Perfect Keyboard.
-
For some reason I like this product... :laugh: The tigress is here :-D
:laugh:
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
-
Yeah, I was reading about SendInput API, and I've perused a few articles here on CP, but they're not what I'm looking for, from the looks of it. I'm looking for something that is separate from my app. Thanks! Marc My website
Latest Articles: Object Comparer String Helpers -
See if you can dig up an old copy of the Windows 3.11 Macro recorder ;-) Michael CP Blog [^] Development Blog [^]
Or the windows hook that was used by that application : WH_JOURNALPLAYBACK. '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
-
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String Helpers -
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersWe use WinBatch with great success. http://www.winbatch.com/[^] To Tom Archer: this is not an ad.
-
DJ_Graham wrote: I have had some success doing automation like this using autoit[^]. Wow, that looks quite impressive. Thanks! Marc My website
Latest Articles: Object Comparer String Helpers -
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersWinMacro[^] :cool: Written by our very own S. Senthil Kumar[^] /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
-
WinMacro[^] :cool: Written by our very own S. Senthil Kumar[^] /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
Very cool! Thank you Ravi. Between WinMacro and AutoIt, I think I've got it covered now. :jig: Marc My website
Latest Articles: Object Comparer String Helpers -
Gads, I am getting tired of mouse clicking over the same menu, dialog, entering a test value, hitting OK, etc. Does anyone know of a scriptable mouse/keystroke inserter so I can automate some GUI testing? Unfortunately, this is pretty much GUI testing and so it isn't easy to write unit tests against. I would cobble something together unit-test wise, but I think that would take longer, and I'm trying to be efficiently lazy. :) Marc My website
Latest Articles: Object Comparer String HelpersThere are no dumb questions, only stupid people asking what seem to them smart questions.;) "...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley