How to repeat script until we have an exact image on the screen?

We need to repeat certain code until an exact image appears on the screen. How to do this with Routine Bot?

Actually, the code for this is simple:

repeat

a:=MouseFocuse(‘test.bmp’);

// any other code

until a=1; // when image appears we exit the repeat…until interation

Posted in Samples

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: