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

Test suite stops working

SA-52275

Summary



Create a test case for a decision table and test suite. User added the schedule in test suite to run but this is failing with an error.


Error Messages



Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'CREATENEWTESTCASE' that applies to 'ClassName'. There were 3 rules with this name in the rulebase, but none matched this request. The 3 rules named 'CREATENEWTESTCASE' defined in the rulebase are:
**3 unrelated to applies-to class 'ClassName', for example: {Rule-, Data-Admin-IS-ClientSimulation}.


Steps to Reproduce



1. Go to Application Automation unit testing and go to Schedule tab.
2. Schedule the test suit and leave it for sometime so that it gets picked by agent.
3. Post the time set for running, check the reports.


Root Cause



An issue in the custom application code or rules:

There were a lot of declarative rules which were set on the properties that were involved in the decision table rule, which was switching the context of the test suite primary page.


Resolution



Perform the following local-change:

Update the decision table to use properties which do not invoke declarative rules, or update the declarative rules' change tracking to not be invoked whenever referenced.

Published April 30, 2018 - Updated October 8, 2020

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