Run a script
This topic explains how to run a codeless automation script locally, as part of the developing process.
After the script is ready, associate it with a Codeless Test or a Codeless Unit. You can then include the script in a scheduled run or an MBT test.
Prerequisites
Review the following requirements:
-
Open a codeless automation script:
ValueEdge Functional Test > Design -
From the ValueEdge platform menu, select Functional Test > Design to open the Design submodule.
The Hamburger menu is located at the top left of the screen.
-
On the All Scripts page, click the name of a script to open it.
ValueEdge Quality On the Details tab of a Codeless Test, click Open in Design.
ValueEdge Functional Test > Model-based Testing On the Details tab of an MBT unit whose Testing tool type is FT Design, click Open in Design.
-
-
Your browser must be set up to work with FT Design. See Set up Functional Test Design.
Run a script
Perform the following steps to run a codeless automation script.
To begin a run:
-
Add your applications to the Script applications pane. See Configure your applications.
-
In the upper-right corner, click the Run button.
-
In the dialog box that opens, select the applications on which you want to run the script and click Start running.
The run session starts. A progress bar is displayed on each application card in the Script applications pane.
-
Click Stop to end the run session, or Pause to stop it temporarily.
Note:
-
When running a script containing input and output parameters, only default values of input parameters are used. Output parameters are not exported outside of the script.
-
When a run session is paused you cannot make any changes in FT Design.
Analyze run results
After the run session ends, the Editor displays the execution result of each step (including conditional steps if there are any) for the selected applications.
Hover over a failed step to show the reason for the failure.
On the right, you can see the applications on which the script ran, and which runs passed or failed.
Click View last report to see a visual HTML report of the steps that ran and their status. This report is similar in format to UFT One reports, and saved to %localappdata%\VEFTDesign\CodelessAgent\Reports\Codeless folder. If input parameters are used in your script, the report contains detailed parameter information, including parameter names and values.
Click Back To Editor to go to the Editor.
Associate your script
After you make sure that your script works correctly, associate it with a Codeless Test or a Codeless Unit.
Note: Skip this section if your script is marked with the icon, indicating that it is already associated with a Codeless Test or a Codeless Unit.
To associate your script:
-
Click the Associate with button on the top toolbar.
You must save your script with a name before you perform the operation.
The script name must not include the dot character ('.').
-
In the dialog box that opens, accept or edit the script name, and select New Codeless Test or New Codeless Unit.
-
Click Associate. A Codeless Test or Codeless Unit with an ID is created.
After your script is associated, you cannot change its name anymore.
-
View the Codeless Test or Codeless Unit.
-
To view the Codeless Test in Functional Test Execution, click the
button.
-
To view the Codeless Unit in Model-Based Testing, click the
button.
Alternatively, you can find the script on the Design > All Scripts page and click the script ID to view the Codeless Test or Codeless Unit in the corresponding submodule.
-
See also: