Use the Store Dynamic Value action to capture the field (e.g., Incident Number). Name it clearly and reference it in future tests. Verify in the Test Run Viewer to ensure accuracy.
During an automated incident creation test:
- Capture the generated Incident Number using a Store Dynamic Value action.
- Use this number in a subsequent test to verify that the incident is resolved or linked to a problem.
This method ensures consistency across tests and eliminates the need to hard-code values, making your test suite more adaptable and reusable.
Comments are closed