Setting general playback preferences in test scripts
You can set the general playback preferences in test scripts. The preference set in the script, if any, takes precedence over the one that is set through the Preferences dialog and it applies globally to all the scripts. Hence, ensure that the script includes a reset command that reverts the preference to its earlier setting.
The following table lists the code snippets to be inserted for each general playback
preference:
Preference |
Code snippet |
---|---|
Show exception dialog |
|
Perform playback in interactive mode |
Note:
This setting works only if IOptionName.SHOW_EXCEPTION_DLG is set to true. |
Maximum time to attempt to find Test Object |
|
Pause between attempts to find Test Object |
|
Skip Verification Points |
|
Timeout used in waitForExistence() method |
|
Retry time used in waitForExistence() loop |
|