Delay in Script

Delay is a programmed pause between steps in monitoring script execution process.

After recording has been completed delay can be added as a fine-tune.

Select line, after which delay shold be added => Right Click => Add delay => Adjust value and click “ok”

add_delay

 

Example
We’ve recorded simple 2-steps monitoring script for a Flash based site.

1st step – navigate page.
2nd step – validate content by RIA picture validation

 

First script playback tells there is an error – RIA Picture validation tells there is no such image at a page.

 

The reason lays in drastically different load times even in one geo-region, so Flash content of a page in our case took about minute to load, while script started to search for an image.
(By default image search time is limited to 50 seconds.)

 

To fix this issue we need to add delay after the first step.