Menu Bar and Context Menu

You can access most of the common activities in recording, developing and interactively replaying scripts using:

  • The menu bar, available at the top of the Development Window
  • The context menu, available by selecting a step and right-clicking

Menu Bar

Note: The menu bar differs slightly depending on the TruClient edition you are using. The below menu bar is from TruClient Standalone.

UI Elements Description

File. The way scripts and files are saved, exported, imported, and opened varies between the TruClient Editions. For details, see Script and File Management.

Record. Starts recording the script. Additionally, you can use the arrow to specify whether to record before, into, or after the selected step.

Play. Replays the script. Additionally, you can use the arrow to specify whether to play the selected step only, or to run the script step by step. Running the script step by step pauses the replay after each step. For details, see Debug Scripts.

Stop. Stops recording or replaying the script.

Toggle Breakpoint. Toggles breakpoints on the selected step.

For details, see Insert toggle breakpoints.

Save. Saves the script.

Script Level. Modifies the script levels that are visible and replayed in the script. For more information, see Modify and view script and step levels.
Find. Lists the steps that match the text string specified, or goes to a specific step number.
Undo/Redo. Reverses your last action, or restores your original change.

Convert to Code. Opens the Coded Conversion Settings dialog box, enabling you to convert the script to code. For details, see Convert TruClient Actions to Code.

Note: Not supported in TruClient Lite.

Transaction Editor. Opens the Transaction Editor, enabling you to define new transactions and modify existing ones.
Event Handler Editor. Opens the Event Handler Editor box. For details, see Event Handlers.

General Settings. Opens the General Settings dialog box. For details, see TruClient General Settings.

Parameters. Set parameter values. For details, see Use Parameters to Vary Arguments.

Note: Available in TruClient Standalone and TruClient Lite only. For details on how to add parameters to scripts in TruClient in VuGen, see VuGen Parameters in the LoadRunner Help.

Snapshot Viewer. The snapshot viewer displays the snapshot in the right pane and adds the following elements:

Previous/Next. Navigates to the screenshot for the previous or next step. The corresponding step is highlighted in the script.

Window. Opens the Replay Window, which tells you which window to use to look for an object when replaying a script that has multiple active windows.

Note: Available in Firefox and Chromium browsers only.

Back to top

Context Menu

Select a step and right-click to display the context menu.

UI Element

<Replay Actions>

Play This Step. Replay the selected step only.

Play Until This Step. Replay from the beginning. Stop before the selected step.

Play From This Step. Replay the script from the selected step.

You cannot use Play From This Step if the target step:

  • Is located in an action that is not part of the run logic.

  • Is inside a For loop or If block.
  • Is a Catch Error step.
  • Acts on an Web object that is not available on the current Web page.


  • Before step. Insert the next set of recorded steps before the selected step.
  • Into Step. Insert the next set of recorded steps into the selected step.
  • After Step. Insert the next set of recorded steps after the selected step.
Toggle Breakpoint

Insert/Remove a breakpoint.

<Transaction Steps>

  • Start Transaction. Insert a Start Transaction step into the script.
  • Surround With Transaction. Insert a Start Transaction and End Transaction steps around a single or multiple steps into the scripts.
  • End Transaction. Insert an End Transaction step into the script.
<Group Actions>

Group Steps. Multiple steps are grouped together as a single step.

Group Into. Multiple steps are group into:

  • Action. A group of steps that you define as a new or existing action.
  • If Clause. A logical structure that controls the flow of your script.
  • For Loop Clause. A logical structure that repeats the steps contained in the loop a specified number of times.
  • New Function. A group of steps, such as a login, that you define as a function.
<Edit Actions>
  • Cut. Cut select step from the script.
  • Copy. Copy selected step in the script.
  • Paste. Paste selected step into the script.
Export/Import Steps

You can copy and paste steps from one script into a new or existing script using the Export/Import function.

The following limitations apply:

  • You can copy and paste steps between scripts that are developed using the same browser. For example, if you copy steps from a Firefox script, you can only paste them into another script developed in Firefox.
  • You can copy and paste steps to and from the Actions or Function Libraries tabs of a script.

Export. Copy selected steps in a TruClient script to paste into another script.

Import. Paste selected steps, that have been exported, into a second script.

Delete Delete a step from the script.
Disable/Enable Toggle between disabling or enabling a step during replay.

Edit Step

Expand the step to display step, argument and transaction properties.

Unfold All Steps Display all steps in groups.
Fold All Steps Minimize all steps and groups.
Reset Auto End Event Enables you to reset the selected step or steps to Automatic: Not Yet Set.

Back to top

See also: