Bullet proof GUI test is a test script which will run perfect in 99% of cases, without any help from your side. I assume that you already have some test plan and know what you need to test and now you are working on the script level to incorporate in the script all your ideas. So here is a check list to follow.
Prepare Environment
- Turn off any application on you PC that might show some unexpected messages, windows or somethings else. Turn off Skype and ICQ – anything that can appear on the screen without your control.
- Before processing with any GUI related things, e.g. clicks and mouse moves, make sure the application that you are going to test automatically is opened. In RoutineBot you can use one or more MouseFocuse functions, which will return 1 if some image marker was found and application is ready to be tested.
Running test – debug on fly
- Add some debug messages in your script, e.g. show some hint near the system clock or write some log to the file. In this way, it will be easier to find possible problems in future.
- Make sure you are writing results of test in some text format. In this way you will be able to pass results of test to some other application or print them out in the command line screen. RoutineBot can write internal variables to the output files.
Control testing results
- After the test or some automation process there is some chance that testing or automation was done wrong because of some unknown reasons. So, it is good idea to make a screenshot of some resulted window, so after the test you will be able to manually control results. With RoutineBot you can make screenshots.
Learn more about commands supported in RoutineBot.
admin Articles
NO WARRANTY
RoutineBot IS SOLD “AS IS” AND WITHOUT ANY WARRANTY AS TO MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER WARRANTIES EITHER EXPRESSED OR IMPLIED. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING THIS SOFTWARE.
Evaluation and Registration
RoutineBot is not free software. You may use this software for evaluation purposes without charge for a period of 30 days. If you use this software after the 30 days evaluation period, a registration is required.
See ORDER.TXT file for detailed information about registration method and price list.
Distribution
You may copy the evaluation version of this software and documentation as you wish, and give exact copies of the original evaluation version to anyone, and distribute the evaluation version of the software and documentation in its unmodified form via electronic means. But you should not charge or requesting donations for any such copies however made and from distributing the software and/or documentation with other products without the author’s written permission.
Registered version
One registered copy of RoutineBot may either be used by a single person who uses the software personally on one or more computers, or installed on a single workstation used non-simultaneously by multiple people, but not both. You may access the registered version of RoutineBot through a network, provided that you have obtained individual licenses for the software covering all workstations that will access the software through the network.
If you do not agree to these conditions you should not install this software.
See readme.txt file for more information about RoutineBot.
Thank you for using RoutineBot.
AKS-Labs
admin Official
With RoutineBot it is easy to automate entering of the text in any text box. Pass to EnterKeys command any text sting that you want to enter. Actually, you can click any key using this command.
The most useful keys:
- EnterKeys(‘^v’); – will emulate the Control + V command, e.g. paste text or picture from the clipboard.
- EnterKeys(‘~’) – will emulate “enter” key.
- EnterKeys(‘%{PRTSC}’); – emulates Alt + PrintScreen key.
Other samples:
- EnterKeys(‘abc123DEF’); the command will enter in the text box “abc123DEF”
Table of keys
The RoutineBot supports Visual Basic SendKeys syntax.
Modifies
- + = Shift
- ^ = Control – use ^v to emulate Control + V
- % = Alt
If group of the characters is surrounded with () then RoutineBot will apply the modifier before this group to all characters.
Key name
Key name is a special string used to identify some system key on the keyboard. When use the key name is the script text use {} symbols. For instance: {PRTSC} for Print Screen key or %{PRTSC} for Alt + PrintScreen key. If necessary, use the number of repeations after the keyname, for example: {PRTSC 2} will press Print Screen button twice. Find below the full list of the key names:
- BKSP, BACKSPACE
- BREAK
- CAPSLOCK
- CLEAR
- DEL
- DELETE
- DOWN
- END
- ENTER
- ESC
- ESCAPE
- F1
- F2
- F3
- F4
- F5
- F6
- F7
- F8
- F9
- F10
- F11
- F12
- F13
- F14
- F15
- F16
- HELP
- HOME
- INS
- LEFT
- NUMLOCK
- PGDN
- PGUP
- PRTSC
- RIGHT
- SCROLLLOCK
- TAB
- UP
admin Articles