
New technology and information now is support with follow increase of programmer at computer. So many program are building by script from programming language. If you come as programmer, you also know that script programming must can be run for testing your listing script. Many kind how to run this script like automated testing or executed one by one. To execute this script you should pass its name as a parameter to the Interpreter.exe. iTestBot can generate the batch file with necessary parameters automatically, here is how the calc-button-click.bat looks like:
I have read about iTestBot. iTestBot is an interface automation testing software with the support of Pascal-like syntax. Many programer usually use this software. This tool is for software testers and quality assurance specialists (helps to solve interface automation testing task), unlike other tools it doesn't record mouse moves and click, user can design GUI test scripting using image patterns.
iTestBot does not just emulate mouse clicks or button clicks, the iTestBot allows user to specify some image sample to be found n the screen and do some action with this sample. For instance, it can find image sample and then focus mouse on it or move the mouse relatively. Example automated test script
The script text is:
Execute('C:\WINDOWS\system32\calc.exe');
MouseFocuse('2button.bmp',10000);
MouseClick;
MouseFocuse('multbutton.bmp',10000);
MouseClick;
MouseFocuse('5button.bmp',10000);
MouseClick;
MouseFocuse('equalbutton.bmp',10000);
MouseClick;
MouseFocuse('multresult.bmp',10000);
KillProcess('C:\WINDOWS\system32\calc.exe');
"C:\Program Files\iTestBot\Interpreter.exe" "C:\Program Files\iTestBot\Samples\WinCalc\calc-button-click.zip" -MessagesFile "C:\Program Files\iTestBot\Samples\WinCalc\res1.txt" -SuccessMessage "PASSED" -SuccessWithWarningsMessage "PASSED with warnings" -ErrorMessage "FAILED" -Warnings "ON" -LogFile "Log.txt"
For me, it exactly for programer and the software is powerful enough as it use Pascal syntax inside, this means that user can create scripts with variables, cycles (for, until), procedures and functions, include external unit.
COMMENTS :
0 comment to “Software Interface (GUI) Test Automation with iTestBot”
Post a Comment