Every time I test my program, I have to input a bunch of the same keystrokes and mouse clicks.
I am looking for a tool to automate this keyboard and mouse input. Similar to a macro recorder.
The tool needs to save the clicks and keystrokes I originally input.
When I want to QA my app, I will hit a keyboard shortcut and the mouse and keyboard inputs will be played back into the system again and again.
Is this a known type of QA testing? If so, what is it called? Who are the market leaders and are there any free versions available?
To automate any keypress, you can use the press command. To specify a single keyboard character, use the character itself. For example, to automate pressing the letter 'a', use the command "press a" (without quotes). Similarly, to press a sequence of keys just pass them in order.
AutoHotkey is good for this. It's free, and can do lots of stuff from simple recording to complex macros.
I have found AutoIT to be great.
It is a very powerful tool, which does more than record just mouse clicks. Using scripting, you can work with the controls in the application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With