ScriptBuilder instructions can be recorded or configured manually.
Viewing and Editing Instructions
To edit an existing instruction, hover over the instruction in ScriptBuilder and click the Edit button.
You can then review the instruction screenshot (for recorded instructions), rules and properties.
Instruction Details
You can change an originally captured input value with free text, functions, parameters, and expressions.
You can change the recorded mouse click or key stroke event. For example, you can change a mouse left-click to a double click, hover, or right-click.
You can also convert any Click instruction into a Capture Screen Element instruction and keep the value as a parameter.
A keyboard Enter can be changed to a mouse left-click or double-click.
Properties
In this section, you can set a timeout for the instruction, set it as a warning if it fails, or execute only if certain conditions apply.
Set as Warning
The Set as Warning option enables you to mark a specific instruction, allowing it to continue running if it fails during execution instead of stopping the entire run. In other words, the failure will be logged as a warning rather than an error. This is useful for non-critical validations or optional steps that shouldn’t interrupt the overall test flow. For example, you might use it for verifying a banner or tooltip, where failure doesn’t impact business functionality. By setting an instruction as a warning, you maintain visibility of minor issues without blocking the rest of the test, keeping your results meaningful and your automation resilient.
Execute only if
The Execute Only If option in ScriptBuilder lets you define conditions that determine whether an instruction should run during playback. Instead of executing every step in sequence, you can set logical rules—such as run this step only if a parameter equals a certain value, or only if a previous validation passed. This makes your scripts dynamic and adaptable to different test paths or data variations. For example, you might skip an approval step if the user role is ‘Viewer’, or perform an upload only if a file exists. By combining Execute Only If with captured parameters and validations, you can create smart, context-aware scripts that mirror real business logic rather than rigid, linear flows.
Tab Selection
You can set the target tab for web instructions when simulating activities on multiple browser tabs. Specify the tab title or the tab number based on its position to fine-tune instruction targeting and improve playback reliability in multi-tab web applications.
Select between the three options - Automatic detection, Using tab title, or Using tab number (beginning from 0, for the first open tab in the browser).
Change Screenshot
You can change screenshots for recorded instructions. This is useful in cases where the original screenshot is missing, incorrect, or outdated.