Configure general settings

The General settings dialog box enables you to set options that affect the way your script is recorded and developed.

About general settings

All settings you define in the General settings dialog box are applied globally to all TruClient 2.0 - Web scripts. You need only configure these settings once. All subsequently created scripts automatically inherit these settings, even after you close VuGen.

You can also define settings for your current script on the Runtime Settings pages. For details, see Runtime settings.

To open the General settings dialog box: In the Development window, click the General settings button general settings.

General settings dialog box

The following tabs and options are available in the General settings dialog box.

Browser settings

 
Option Description
Proxy selection

Define the relevant settings for working with your proxy server.

Advanced - User agent

Use to change the user agent string for the browser. Leave empty to use the default user agent.

Interactive options

 
Option Description
Action on error The Vuser action on error. You can set it to abort script, or continue to next iteration/step
Snapshot generation
  • Replay snapshot generationSelect an option for generating snapshots:

    • Never. Never generate snapshots during replay.

    • On error. Generate snapshots when an error occurs during replay.
    • On error and on demand. Generate snapshots on steps with errors during replay, or when playing a Take snapshot step.
    • Always. Always generate snapshots for every step during replay. This is the default value.

    For details, see Snapshots for scripts.

  • Full page snapshot. Generate replay snapshots at full page size.

Steps generation

  • Default identification method. Select the default object identification method. For details, see ID method.

  • Replace server with parameter. Replaces server names and IP addresses with parameters in the navigation steps. The server names and IP addresses are contained in specific arguments associated with specific functions in the script. When they are replaced with parameters, you can run the script in different environments by simply changing the server and IP address values in the parameter file.

  • Create alternative steps when applicable. Creates alternative steps when there are multiple ways to perform the same action in a step. For details, see Use alternative steps.

  • Create level 2 or level 3 steps during recording. Creates steps for levels 2 and 3 during script recording. If cleared, TruClient records only level 1 steps. For details on levels, see Step levels.

Debug

  • Automatic try different object identification methods. For details, see Object identification.

  • Ignore wait steps. Accelerates script debugging by ignoring wait steps.

  • Hide inspector panel.

    • When not selected, the Inspector panel is displayed in the script editing area when the script hits a breakpoint.

    • Select this option to hide the Inspector panel during replay.

  • Automatically populate inspector panel. Relevant when the Inspector panel is not hidden:

    • Select this option to automatically populate the Inspector panel when the script hits a breakpoint.

    • When not selected, any user-defined variables are still displayed in the Inspector panel.

    For details, see Inspector panel.

Client certificate

If your script requires a client certificate, you can manually attach the certificate to the script folder.

Click the Attach certificate button and follow the on-screen instructions.

Code snippets

This tab enables you to create your own custom code snippets to insert in the script.

For details, see Custom code snippets.

Back to top

See also: