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

Parameter page lost on Test Case after check out

SA-96892

Summary



When executing an Automated Unit Test Case after creating a Test Case for a Strategy rule, the Test case passes in the initial run and fails after the test case is checked out.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a test case after running a Strategy rule.
  2. Save the Test Case.
  3. Check in the Test Case.
  4. Execute the Test Case. The Test Case passes.
  5. Check out the Test Case.
  6. Execute the Test Case. The Test Case fails.  


Root Cause



A defect in Pegasystems’ code or rules.


Resolution



Perform the following local-change:
  1. Perform a Private Edit of the 'Rule-Test-Unit-Case.pzCheckAndUpdateParameters' activity.
  2. Exit the activity at Step 1 if the type of the Rule Under Test (RUT) is Strategy with the below When condition.

    .pyRuleUnderTest.pyDetails.pyRuleUnderTestType=="Rule-Decision-Strategy" then Exit Activity otherwise Continue Whens
This feature is implemented in the following:
  • Pega Platform 8.3.2
  • Pega Platform 8.4
Suggest Edit

Published July 17, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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