I know about autoit and about autohotkey but I am not sure that they are the same. What other good automation programs are there? Should I use different programs for automatic browser mouse clicks and keyboard pressing?
-
Are you looking for a browser UI test framework or just a convenient way to click something?– user246Nov 21, 2011 at 1:35
-
A browser UI test framework– lital maatukNov 21, 2011 at 8:52
-
are you talking about record and replay programs or the ability to write your own automation ?– Phil KirkhamNov 21, 2011 at 9:16
-
ability to write my own automation– lital maatukNov 21, 2011 at 10:24
4 Answers
A Google search with the keywords "browser test automation framework" will yield many links for you to check. These frameworks usually handle mouse clicks and keyboard pressing. I do not recommend using different software for automating mouse clicks than for automating keyboard pressing. If you believe you have special needs that would motivate doing so, you should alter your question to describe those needs.
Two frameworks frequently mentioned in this forum are Selenium and Watir.
-
BTW, apparently Watir/Selenium will have better interoperability in the near future. So you'll get the benefit of Selenium's webdriver and Watir's natural language syntax. Nov 21, 2011 at 21:51
-
1What about javascript itself? can i use it also as a script language for mouseclick and keystroke? Nov 21, 2011 at 22:29
-
1If you want to code your tests in Javascript, you might want to look at this: code.google.com/p/selenium/wiki/WebDriverJs– user246Nov 22, 2011 at 0:03
if you just want to emulate mouse clicks and keyboard keystrokes have a look @ selenium IDE its an addon for firefox it should cover your needs. If you want to test the same scenarios in other browsers you can export your tests and run them under selenium webdriver
You might want to check out TestApi at http://testapi.codeplex.com/
Also, automation frameworks emulate key presses or mouse clicks via messages directly to the OS which bypasses the keyboard and mouse hardware & drivers.
You might wish to investigate the freeware versions of iOpus iMacros.