Dynamic variables store values, such as a Caller or Incident Number, during test runs and adapt test steps to reflect changing data in real-time.
How They’re Used:
- Example 1: In an automated test for incident creation, a dynamic variable captures the incident number from a newly created record. This value is then reused to validate related actions, such as assigning the incident or linking it to a problem.
- Example 2: While testing Service Catalog items, dynamic variables can store unique request IDs, ensuring that subsequent steps like approval workflows or status checks reference the correct data.
Comments are closed