Record a TruClient 2.0 script

Record user actions interactively into a TruClient 2.0 - Web script.

Record with TruClient 2.0

The following steps describe how to create and record a TruClient 2.0 web-based script.

To record a TruClient script:

  1. Create a new TruClient 2.0 - Web script in VuGen.

    The new script opens in the VuGen Editor pane.

  2. If required, configure runtime settings for the script. Select Replay > Runtime Settings.

  3. In the VuGen toolbar, select the browser to use from the Select Browser dropdown list. The browser must be installed on your local machine.

  4. In the VuGen toolbar, click Develop Script. TruClient opens the TruClient Development window, and the selected browser.

    For user interface details, see TruClient 2.0 Development window.

  5. Start recording your script:

    • Use the Record button in the Development window to begin recording. You can stop recording at any time by clicking the Stop button.

    • You can create new actions to record into, in addition to the default Action section. Select the action from the Action dropdown list and click Record. For details, see Actions for TruClient 2.0 scripts.

    • Begin performing your business process in the browser window. All of the actions are recorded and displayed in the Development window as steps.

    • After stopping the recording, you can restart recording from where you stopped. Alternatively, you can record new steps at a location in the script. Right-click a step and select Record > Before step or After step to record new steps into that location of the script. If you are recording into a group step, select Record > Record into.

  6. Click Save.

  7. If required, modify the run logic. Run logic determines the flow of your script, meaning the order in which actions run during a test, and the number of times they run. For details, see Run logic for TruClient 2.0 scripts.

  8. Click the Replay button to replay the script. You must replay your script at least once from the TruClient Development window, so the TruClient engine can perform some background tasks. For details, see Replay TruClient 2.0 scripts.

    You can view replay progress in the status bar at the bottom of the Development window.

  9. Enhance your script by adding manual steps, parameters, functions, and so forth. For details, see Enhance a TruClient 2.0 script.

Back to top

See also: