Test Variables

Test Variables are accessible within a single test case and cannot be passed from one test to another. To pass variables from one test to another use Project Variables. The advantage of Test Variables is that they can be used incredibly quickly and easily, as shown below.

Test Variables

From the main screen of the Architect:

  1. Start the Architect by selecting the record button  Record_button.png
  2. Verify an element using the verify button (at least one item needs to be verified to use Test Variables) Flag.png
  3. Click the plus icon  Plus.png 

Test_Variables_1.png

Select Test Variables

Test_Variables_2.pngSelect an existing step of the test case to use as a variable.

Test_Variables_4.png

Select any attribute of the existing step that will be passed into a subsequent step of the test case. The value of the variable will show so that it can be visually confirmed.

Test_Variables_5.png

Select a Step Attribute.

Test_Variables_6.png

Step Value will populate.

Test_Variables_7.png

If required, use an Operator to parse the value of the attribute.

Test_Variables_8.png

Select Set Target to input the test variable into a field.

Test_Variables_9.png