A Smart Wait causes a macro to wait during playback until it recognizes a screen according to conditions that you set. If the macro recognizes the screen within the timeout period, it continues. If it does not, it stops.
To add a smart wait:
A macro can recognize a screen according to any or all of these conditions:
The Macro Manager automatically records the number of fields for you. |
A value greater than zero must be specified. A value of less than or equal to zero will result in the global timeout value in the <HAScript> tag being used (unless the global timeout is disabled, in which case a value of less than or equal to zero adds an infinite wait).
If the macro consistently times out too soon, edit the code to increase the timeout (WaitForScreen) timeout value. You can edit either the "timeout" attribute in <HAScript> to affect the timeout value between screens for the entire macro, or the "timeout" attribute in <nextscreens> to change the timeout on a per screen basis. Note that the "timeout" attribute in <nextscreens> only overrides the "timeout" attribute in <HAScript> if (a) "timeout" in <HAScript> is -1 or (b) "timeout" in <nextscreens> is greater than zero.
|