Development window
This topic describes the components of the TruClient Development window when working with a TruClient 2.0 - Web protocol script.
Development window UI
The Development window provides the interface you use to record, replay, enhance, and debug your script.
When you are developing and replaying a script within the Development window, this is referred to as working in interactive mode.
See the following sections for more information on the components.
Note: Many of the Development window options and functionality are not available while your script is in record or replay mode.
Masthead
The Development window masthead displays the name of your script, and includes the following user interface elements:
UI Elements | Description |
---|---|
|
General settings. Opens the General settings dialog box. For details, see Configure general settings. |
![]() |
About. Opens the About window, providing copyright and version information. |
|
Help. Opens the TruClient documentation within the VuGen Help Center. |
![]() |
Save. Saves changes made to the script. |
![]() |
The dropdown menu enables you to switch between the listed views:
|
![]() |
Available when working in the Actions view. Use the dropdown menu to select a script section. Each script section displays the steps contained in that section. There are three default sections: Init, Action, and End. These default sections cannot be deleted. In addition, the list includes all action sections that you have added to the script. You can record your entire script into the Action section (default), or you can create and record into new action sections, to represent different parts of your business process. For details, see Script actions. |
![]() |
Manage actions. Opens the Manage actions dialog box, where you can add new actions, and delete and rename them. For details, see Script actions. |
Toolbar
The Development window Toolbar contains the menus and buttons most commonly used for recording, developing and interactively replaying scripts.
UI Elements | Description |
---|---|
|
Record. Starts recording the script. Additionally, you can use the arrow to specify whether to record before, into, or after the selected step. For details, see Record scripts.
|
|
Replay/Resume. Replays (or resumes replay of) 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 Replay scripts. |
![]() |
Pause. Use to pause script replay. |
|
Stop. Stops recording or replaying the script. |
![]() |
Add step. Opens the Steps box, enabling you to add steps to the script. For details, see Steps box. |
![]() |
Script level display. Filters the steps that are visible and replayed in the script.
For details, see Step levels. |
![]() |
Undo/Redo. Reverses your last action, or restores your original change. |
|
Transactions editor. Opens the Transactions dialog box, where you can define new transactions and modify existing ones. For details, see Insert transactions in scripts.
|
![]() |
Event handler editor. Opens the Event handler editor. For details, see Event handlers. |
![]() |
Snapshot view. Opens the Snapshot viewer in the right pane. Select a step to view the corresponding snapshot, or browse through the snapshots using the navigation at the bottom of the Snapshot viewer. For details, see Snapshots for scripts. |
Editing area
The Development window editing area is where you view the steps in your script, and edit step details and flow.
User interface elements are described below (unlabeled elements are shown in angle brackets):
UI Elements | Description |
---|---|
<Script steps> |
Displays the recorded steps, or other steps added to the script. For details, see Step structure. Right-click a step to view a menu of options. For details, see Context menu. |
Inspector panel | When breakpoints are used during replay, the Inspector panel displays all parameters and user-defined variables. For details, see Inspector panel. |
Status bar |
Displays status details about various actions in the Development window, such as record or replay status. |
Context menu
Right-click a step in your script to display the context menu.
User interface elements are described below (unlabeled elements are shown in angle brackets):
UI Element
|
Description |
---|---|
<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. Note: You cannot use Play from this step if the target step:
For details, see Replay scripts. |
Record |
Starts recording, and inserts the next recorded steps into the script at the selected location:
For details, see Record scripts. |
Toggle breakpoint |
Insert/remove a breakpoint for the selected step. For details, see Inspector panel. |
Surround with transaction |
Inserts a Start transaction and End transaction steps around the selected step. If more than one step is selected (the selected steps do not need to be consecutive), then the transaction is from the first selected step to the last selected step. For details, see Insert transactions in scripts. |
<Groups> |
Create groups for one or more selected steps. Multiple steps must be consecutive. Group steps. Create a new group. The selected steps are grouped together as a single step. Ungroup steps. Removes the grouping from the steps in the selected group. Group into. Create a group for a logical action:
For details, see Steps box Flow control tab. |
<Edit actions> |
|
Delete | Delete a step from the script. |
Enable/disable | Toggle between disabling or enabling a step, so that it is included or ignored during replay. |
Fold all steps |
Minimize the display of all steps and groups. |
Unfold all steps |
Expand the display for all steps and groups. |
Reset auto end event | Enables you to reset the selected step or steps to Not yet set. For details, see End events. |
See also: