One of the sites we monitor will update and the content changes completely form what's normally displayed. Does Citratest have the ability to determine "if" conditions and process an alternative if the condition, or in this case the primary image isn't displayed, look for a secondary image and if that isn't displayed, then time out?
Citratest is visual basic, so conditionals are allowed.
Here is the sampel Citratest code:
Option Strict On
Option Explicit On
returnStatus = AppStart ("C:\WINDOWS\system32\calc.exe", "Calc_start.bmp")
If returnStatus <> SUCCESS Then
msgbox ("Image find")
msgbox ("can not find image")
returnStatus = KeystrokeVK ("VK_LMENU", KEY_DOWN)
returnStatus = KeystrokeVK ("VK_F4", KEY_DOWN)
returnStatus = KeystrokeVK ("VK_LMENU", KEY_UP)
returnStatus = KeystrokeVK ("VK_F4", KEY_UP)