Capturing values from the user interface
Enhance the process of scenario testing by reusing properties in the same test, or in another test. You can copy values that users enter in the interface, and reuse those values to ensure a smooth testing experience.
For example, you can capture the names of members of a household, and reuse that data in another testing scenario. You can also capture values while recording a new test case.- Open a scenario test case in which you want to capture a certain value.For more information, see Opening a scenario test case.
- Capture the value of a selected step:
- In Dev Studio, in the test case view, in the Test case steps section, click the step whose value you want to capture.
- In the Actions section, select the Capture value of step to use at another step/test case checkbox, and then provide a unique property name to store the value of that step.
- Reuse the captured value:
- In the Test case steps section, click the step in which you want to reuse the captured value.
- In the Actions section, in the Value type list, select Captured value.
- In the Value field, enter the property name that stores the value that you want to reuse.
- In the upper-right corner of the rule, click Check out, and then click Save.
Previous topic Adding custom steps to scenario tests Next topic Pega Test Automation Kit 1.5