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.

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

General settings dialog box

The following options are available on each tab of the General settings dialog box:

 
Tab Description
Browser settings

Specify the options:

  • Proxy selection. Define the relevant settings for working with your proxy server.

    For Manual proxy configuration. You can define proxy server addresses to be blocked. For rule details, see Blocking addresses when using a 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

This tab enables you to configure replay and debug settings for interactive mode.

Action on error. Vuser action on error: Abort script, Continue to next iteration/step

Replay snapshot generation. Select 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.

Client certificate

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

Code snippets

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

For details, see Work with JavaScript.

Back to top

Blocking addresses when using a proxy server

In the Browser setting tab of the General settings dialog box, you can define proxy server addresses to be blocked. The following rules apply:

To block a... put this into "No Proxy for" ...for example, use Limitations
domain, including sub-domains domain suffix, starting with a dot ".mycom.org; mycom.org" You must use both entries to block a single domain.
hostname (with domain) domain suffix, starting with a dot "www.mycom.org" Also blocks any hostnames or domains that end in the same string (other-www.myco.org)
IP address IP address "1.2.3.4" Does not block hostnames that resolve to the IP address ("127.0.0.1" does not block "localhost")
Network network w/ CIDR block "10.0.0.0/8" Does not block hostnames that resolve to the IP address range (10.0.0.0/8 is not "no proxy for intranet hostnames")

Back to top

See also: