Step structure
This topic describes the components and behavior of the steps in your TruClient 2.0 - Web script.
Step editor
Steps contain a user action to perform, object identification, and the point where the next step can start. They can be recorded steps, or other steps you manually add to the script.
You can manage some aspects of the steps within the editing area of the Actions view in the Development window. Other step components are edited in the Step editor.
The sections and data you can edit depend on the specific type of step.
Step options
The steps area can include the following options and functionality. The specify contents vary, depending on the step type:
UI Elements | Description |
---|---|
<Status icons> |
The icons to the left of the step number indicate replay status or other information about the step:
|
![]() ![]() |
Unfold/Fold step. Click on the arrows to expand or minimize the step display. When expanded, the step displays the step toolbar, and the most important property fields for the step. For recorded steps, these are most often the End event, and key arguments for the step. For details on the properties, see Step properties. |
![]() |
Grab handle. Use to change the step order of your script, by grabbing and dragging the step to a different location. |
|
Step level. Each step is assigned a level number between 1-3 at recording time (indicated by bars). Lower numbers represent higher level. For example, a level 1 Click the down arrow to the right of the Step level icon Note: For replay, you can filter the displayed steps by their level, using the Script level selector in the toolbar. For more information, see Step levels. |
![]() |
Play this step. Click to play just that step (or group of steps). |
![]() |
Disable/enable during replay. Click to deactivate the step. Deactivated steps are ignored during script replay. Click the button again to activate the step. |
![]() |
Highlight the object. Click to check if the object is visible in the browser window at that time. The object is highlighted in the browser with a red outline. For details, see About object identification. |
![]() |
Replace the test object. Use to replace the current object with a different object, without replacing the step. For details, see Replace an object. |
![]() |
Alternative steps. Opens the Alternative steps dialog box, where you can redefine the step in alternative ways. Alternative steps allow you to view multiple ways to perform the same user action in a step. Select the relevant step definition, and click OK. For more information, see Use alternative steps. |
![]() |
Edit transaction. Opens the Transactions dialog box, where you can define new transactions and modify existing ones. For details, see Insert transactions in scripts. |
|
More. Opens the Step editor, where you can modify the properties and arguments for the step. For details, see Step properties. |
![]() |
Set the default value. Click to reset the value to the default value. |
![]() |
Argument method. Defines how the value of the argument is evaluated during replay. Click the right arrow to open a dropdown list where you can select a different argument method. Available methods:
|
![]() ![]() |
Displayed for the JavaScript or Parameter type password field. Determines if the password value is encrypted or not.
|
See also: