A useMango™ test variable is a name-value pair that stores and refers to information throughout a test. useMango™ tests use test variables whenever there is a need to operate with data that may change, either from the test run to the test run or within the run-time of a test.
Test variables are used to store values retrieved from the application under test during the test run-time. These retrieved values are used for verification or as input values for subsequent steps in the test.
To edit an Image identifier or Table variable, refer to the Data Types in useMango™ page.
Move the mouse pointer to the test variable name and click cross mark (x) to delete the test variable.
A warning message is displayed before deleting if the test variable is used in any of the test step(s).
Select the test step in which the test variable is needed.
Press ENTER key or Double click on the test step to open the test step editor.
To assign test variable to the test step parameter, either
a. Click on the Value field of a test step parameter and begin typing the Name or Value of the test variable, then select it from the drop-down list or
b. From the list of variables in the Variables panel, drag and drop a variable onto a test step parameter, using as the handle.
Table variables can only be assigned to loops and composite components as arguments to parameters.
Click on the bin icon next to the field of a test step parameter present in the test step editor to unassign a test variable.