Replay TruClient 2.0 scripts

You can replay your script from the Development window. You must do this at least once to synchronize the steps, before debugging and enhancing the script.

Replay a TruClient script

Once a TruClient 2.0 script has been recorded, you can replay it to synchronize the script steps, and see if there are any errors.

You must replay your script at least once from the TruClient Development window, so that the TruClient engine can perform some background tasks. This includes identifying and assigning the relevant end event for each step. After replay, you can manually change the end events as needed. For details, see End events in TruClient 2.0 scripts.

To replay a TruClient script in the Development window:

In the TruClient Development window, click the Replay button . During replay, you can see the recorded actions being replayed in the browser.

Note: You can use the arrow to the right of the Replay button to specify whether to play a selected step only, or to run the script step by step (which pauses the replay after each step).

Replay progress is indicated by the icons displayed to the left of each step. For details, see Step options.

Back to top

Add download filters

You can add URLs to VuGen > Runtime Settings > Download Filters to either include or exclude specific URLs while replaying your script.

Back to top

Tips for successful replay

The following tips improve the chances of a successful replay:

  • Do not switch between applications during interactive replay. Keep the browser in focus.

  • Do not re-size the browser between record and replay and during replay. This can cause objects to move and interfere with TruClient's ability to locate them.

  • Any customizations (such as bookmarks) that you make within this instance of the browser are not saved for general use. This is because TruClient opens each script in a unique browser profile. We recommend that you open a browser outside the TruClient context for your normal use.

Back to top

See also: