Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Capturing values from the user interface

Updated on April 8, 2022

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.
Note: The reuse is available for the ongoing session only.
  1. Open a scenario test case in which you want to capture a certain value.
    For more information, see Opening a scenario test case.
  2. Capture the value of a selected step:
    1. In Dev Studio, in the test case view, in the Test case steps section, click the step whose value you want to capture.
    2. 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.
  3. Reuse the captured value:
    1. In the Test case steps section, click the step in which you want to reuse the captured value.
    2. In the Actions section, in the Value type list, select Captured value.
    3. In the Value field, enter the property name that stores the value that you want to reuse.
  4. In the upper-right corner of the rule, click Check out, and then click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us