Script Ribbon
The Script ribbon provides access to the following commands:
Play 
Groups commands for playing the script step(s) in one of the following modes:
Play all
Plays all script steps.
Play all with user delay
Plays the entire script taking into account any delay that may have been inserted when capturing the steps over an established test session.
Play selected only
Executes the currently selected step(s) selection in Edit mode.
This menu command is equivalent to pressing theCtrl + R keyboard shortcut followed by another Ctrl + P shortcut.
Pause 
Pauses the script execution.
Stop 
When clicking once, a graceful stop of the running script is attempted. If you click a second time, the script execution is stopped forcibly.
Toggle Breakpoint 
When working in the Edit/Debug mode, this command enables you to set an active breakpoint (enabled), to change it to an inactive state (disabled), or to remove it.
These menu commands are equivalent to pressing the Ctrl + B keyboard shortcut followed by another Ctrl + E, Ctrl + D, or Ctrl + Delete.
Although breakpoint can be set both in the Edit and the Debug mode, configured breakpoints only work when running the test in Debug mode. In the Edit mode, any set breakpoints are ignored.
Edit 
Switches the TestComposer plugin to Edit mode. See Using the TestComposer Edit Mode.
This menu command is equivalent to pressing the Ctrl + Shift + Ekeyboard shortcut.
Debug 
Switches the TestComposer plugin to Debug mode. See Executing a Script in Debug Mode.
This menu command is equivalent to pressing the Ctrl + Shift + Dkeyboard shortcut.
On switching to the Debug mode, the Test Steps table background changes to light grey , as a visual indication of the non-editing mode you are in.
New 
Groups commands for creating a new empty script in a new TestComposer tab, adding an inline procedure delimited by Procedure - EndProcedure statements, and creating TestComposer Device Session, CSV Template, or Response Template resources.
New Script
Creates an empty script in a new TestComposer tab.
This menu command is equivalent to pressing the Ctrl + N, Ctrl + Pkeyboard shortcut.
New Procedure
Adds into the current script an empty procedure body delimited by the Procedure / EndProcedure statements. See Procedure Step.
This menu command is equivalent to pressing the Ctrl + I, Ctrl + Pkeyboard shortcut.
New Device Resource
This command creates a new session resource that defined connectivity parameters to remote test devices. See Creating Device Sessions.
The equivalent menu shortcut for theis command is Ctrl + N, Ctrl + D.
Create New CSV Template
This command creates a new CSV Template resource that can be used by a CSVAnalyzer test session. See Creating CSV Template Resources.
The equivalent menu shortcut for theis command is Ctrl + N, Ctrl + C.
Create New Response Template
This command creates a new Response Template resource that can be used for retrieving specified portions of the output generated by a configured test device. See Creating Response Templates.
The equivalent menu shortcut for theis command is Ctrl + N, Ctrl + R.
Append Last Step 
Groups commands for adding a control or a command step, re-appending the step that was added last, or adding a step configured using the Step Configuration wizard.
Add Control Step
Adds one of the following control steps:
- For
- While
- Do While
- Step Search
- Binary Search
- Break
- Return
- If
- Else
- Exist
- Assign
- Sleep
- Comment
- ReadWrite Global
- Join
- RunProcedure
- Runprocess
Add Command
Adds one of the following command steps:
- StartSession
- Execute
- StopSession
- TclEval
- ReadFile
- Trace
- WriteCSV
- Watch
- ShowMessage
- getValue
- GetTime
Append Last Step
Adds a step of the last inserted type to the bottom of the Script Steps table.
This menu command is equivalent to pressing the Ctrl + I, Ctrl + Nkeyboard shortcuts.
New Step
Adds a step to the bottom of the Script Steps table using the Step Configuration wizard. See Adding Scrips Steps.
This menu command is equivalent to pressing the Ctrl + I, Ctrl + Wkeyboard shortcuts.
Insert above
Inserts a step above the currently selected step.
This menu command is equivalent to pressing the Ctrl + I, Ctrl + Akeyboard shortcut.
Insert below
Inserts a step below the currently selected step.
This menu command is equivalent to pressing the Ctrl + I, Ctrl + Bkeyboard shortcut.
Place Inside 
Places the selected step(s) into one of the following looping, conditional, or procedure constructs:
- If
- For
- While
- Do While
- StepSearch
- BinarySearch
- Procedure
These menu commands are equivalent to pressing the Ctrl + P keyboard shortcut followed by another Ctrl + I, Ctrl + F, Ctrl + W, Ctrl + D, Ctrl + S, Ctrl + B, orCtrl + P.
Delete 
Deletes the selected step(s).
This menu command is equivalent to pressing the Delete key.
Clear Script 
Groups commands for closing all open scriptsother than the main procedure scriptand deleting all steps of the main procedure.
The equivalent keyboard shortcut for the Close all scripts command is Ctrl + F4.
Edit 
Opens the currently selected steps for editing in the Step Configuration wizard.
This menu command is equivalent to pressing the Ctrl + Ekeyboard shortcut.
Move Up / Down 
Moves the selected step(s) up or down. Alternatively, a step(s) can be moved using drag and drop operations.
These menu commands are equivalent to pressing the Ctrl + U and Ctrl + Dkeyboard shortcuts respectively.
Cut 
Removes a script step and makes it available for pasting at another location of the Script Steps table, or to another script.
Copy 
Copies a script step and makes it available for pasting at another location of the Script Steps table.
Paste 
Pastes the cut or copied script step after the currently selected step of the Script Steps table, or to another script.
Notes:
The Cut, Copy,and Paste commands can also be used for moving script steps to another script or procedure.
The Cut, Copy,and Paste commands can also be accessed by clicking the
,
, and
tool bar buttons, or clicking the common Ctrl + X, Ctrl + C, andCtrl + V keyboard shortcuts.
Include / Exclude 
When the currently selected step(s) is (are) excluded from execution, the Include command enables it (them) for execution. This menu command is equivalent to pressing the Ctrl + R and Ctrl + Ikeyboard shortcuts.
When the currently selected step(s) is (are) included in the execution, the Exclude command disables it (them) from execution. Excluded steps are displayed gray in the Script Steps table. This menu command is equivalent to pressing the Ctrl + RandCtrl + E keyboard shortcuts.
Expand/Collapse 
Expands or collapses the currently selected step(s) in the Script Steps table. When you click Expand All or Collapse All, the operation affects the entire table.
Select all

Selects all steps from the currently active tab.
This menu command is equivalent to pressing the Ctrl + Akeyboard shortcut.
Undo 
Reverts most of the script editing actions performed in the Script Steps table.
This menu command is equivalent to pressing the Ctrl + Zkeyboard shortcut.
The following actions are not supported by the Undo/Redo functionality:
Performing find & replace operations
Configuring breakpoints
Redo 
Re-applies commands that were undone previously using an Undo command.
This menu command is equivalent to pressing the Ctrl + Ykeyboard shortcut.
Validate 
Performs a global on-demand validation check on the script. If errors are found, these are displayed in the Validation Messages tab of the Edit mode window.
This menu command is equivalent to pressing the Ctrl + Shift + Vkeyboard shortcut.
Find/Replace 
While in the Edit mode, choosing this command switches to the Find/Replace tab enabling you to perform script-level editing operations using a find and replace functionality. See The Edit Mode Tabs.
This menu command is equivalent to pressing the Ctrl + Fkeyboard shortcut.
Go to 
Groups commands for navigating to a user-specified step in the Script Steps table, or to a procedure referenced by a RunProcedure step.
Go to step
The Go to step command enables you to navigate to a user-specified step in the Script Steps table.
This menu command is equivalent to pressing the Ctrl + Gkeyboard shortcut.
Go to procedure
When the currently selected step is a RunProcedure step, this command enables you to navigate to the procedure referenced by the RunProcedure step.
This menu command is equivalent to pressing the Ctrl + Shift + Gkeyboard shortcut.
Debug Views 
This commands enable you to customize the appearance of the TestComposer GUI, enabling you to display or hide information panes.
Events
Displays or hides the Events tab that enables to define test-level conditional settings.
Conditional Execution settings enable you to define a procedure to execute and an additional action to take when a timeout or a error condition is encountered at script runtime. For example, on encountering a step error, you could determine the script to terminate or to continue running.
Tcl Packages
Displays or hides the Tcl Packages tab that enables you to define additional packages available to the Tcl Expression Builder.
Validation Messages
Displays or hides the Validation Messages pane of the Edit mode window.
Execution Messages
Displays or hides the Execution Messages pane of the Edit mode window.
Command Response
Displays or hides the Command Response pane of the Edit mode window. Using the functionality of this pane, you can create Response Templates that are associated with some step types, such as Execute, and are used to parse the command output and retrieve user-specified portions of it.
Find/Replace
Displays or hides the Find/Replace pane that enables you to perform script-level editing operations using a find and replace functionality.
Global Output
Displays or hides the Global Output pane of the Debug mode window.
Sessions Output
Displays or hides the Sessions Output pane of the Debug mode window.
Call Stack
Displays or hides the Call Stack pane. At run time, when a breakpoint is encountered or when the execution is paused, this tab is populated with the stack contents, comprising the Main( ) entry (corresponding to the Main_Procedure), followed by list of all procedures that are executed at that moment.
Breakpoints
Displays or hides the Breakpoints pane.
Console 
Switches to the Session Consoles pane, enabling you to connect to configured test devices supporting the Telnet, Tclsh, TL1, SSH1/SSH2/SSHAuto, IxEmail, CmdTool, COM, and Raw protocol interfaces, or the IxLoad test application interfaces. Once connected, commands input to the test devices are also captured as script steps.
This menu command is equivalent to pressing the Alt + Shift + Ckeyboard shortcut.
See Using the Capture Functionality.
Reset Layout 
If you have altered the TestComposer GUI, such as for example by closing information panes or toolbars that are displayed by default, this command resets the plugin's GUI to the default setting.