Share this page

# Replay scripts

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

In this topic:

## Replay a script

Once a 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 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.

To replay a script in the Development window:

In the 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.

## Add download filters

You can add URLs to the runtime settings (VuGen > Runtime Settings > Download Filters), to either include or exclude specific URLs while replaying your script.

## 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 each script is opened in a unique browser profile. We recommend that you open a browser outside the TruClient context for your normal use.

## Improve replay

The following topics describe how to improve replay and object identification, and debug your scripts.

Topic | Description
--- | ---
Object identification | Learn about the mechanisms available to improve object identification, including using the Descriptors editor.
End events | Learn about the application of end events in your scripts, and how to manually make change them.
Snapshots for scripts | Learn how to capture snapshots of the browser window during script replay.
Debug scripts | Learn about the various options available to help debug your script.

## See also

- End events
- Load test with TruClient scripts

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1-26.3 All View Local Help Center View Online Help Center Version: