Platform
Using Variables
How to add and use variables in tests.
Variables allow you to dynamically insert values into your test steps. This helps when working with credentials, dynamic inputs, or data-driven tests.
Step 1: Edit or Create a New Test
- Navigate to Tests and either:
- Create a New Test, or
- Select an existing test to edit.
Step 2: Add Variables
- Click the Variables button at the bottom left.
- Enter a Variable Name and its Value.
- Click Add to save it.
Step 3: Use Variables in Test Steps
- When adding a Step, wrap the variable in dollar signs.
- Example:
enter $name$ in the Name field
enter $password$ in the password field
Step 4: Save and Run the Test
- Click Save Test to apply the changes.
- Run the test, and the variable values will be dynamically inserted.