Checklist for GUI testing – making GUI testing more bullet proof

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.

Posted in Articles
Tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Example: GUI test with RoutineBot

RoutineBot is testing GUI, trying to enter various values into the text fields and processing warning messages that tested program shows.

Gui Test Automation

GUI Testing TipsCheck out our GUI Test Automation tips.
Test Automation Step-by-Step
Learn more than 99% users know about test automation! Subscribe to maillist now! Learn how to create scripts that will do routine job for you.

Email: