Creating and assigning test variables
You can create a variable and initialize it to an alphanumeric value. Then, within the test, you can assign the value of the variable to a test element.
You must have completed the following tasks:
- Ensured that you are assigned a Team Space Owner, Project Owner, or Member with a Tester role to create or edit a test resource.
- Read and understood the information in Edit branch overview and Create or select an Edit branch.
- Ensured that your project contains a Web UI test.
- Opened the test in Test Editor. See Editing a Web UI test.
Note: The variables that you created in Test
Editor are listed in the Variables section of the
Configure settings and data pane as test variables.
- Run the test in Test Editor and view the Functional Report to verify the test steps with the variable assignment. See Running a Web UI test.
- Start the test run from the Execution page, and in the Execute test asset dialog, navigate to the Configure settings and data option on the Test Editor page to view the Test variables defined in the test. See Configuring a run of a Web UI test and Variables.
button displayed on the
in the
to change the type
to Output or Local.
to save the modifications.