Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Validation rules behavior incorrect while running a test case

SA-96432

Summary

A case type is present on an application with a validation rule. This validation rule verifies with the DOBYear text property's value is in between 1900 and the current year. If the condition is satisfied, then the validation passes and the case is created correctly. This works fine while running a case. No validation error occurs on providing correct values in the case. However, while running a recorded test case, validation errors occur for the same set of recorded values.


Error Messages

Validation error


Steps to Reproduce

  1. Open a case type from the Case Type explorer
  2. Select Actions
  3. Select Record test case
  4. Step through the case type
  5. Click the Create test case link at the lower right corner
  6. Define assertions which include the embedded properties
  7. Save the newly created test case
  8. Open the associated data transform by clicking View test data. No user inputs are captured in the data transform


Root Cause



A defect in Pegasystems’ code or rules. Top level page (pyWorkPage) captures the data correctly. However, the embedded page on pyWorkPage fails to capture the data. 

Resolution



This issue was reported as a bug to be remediated in Pega 8.2.6 patch release.

 

Published January 17, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us