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

Save Test Case button is always disabled

SA-11671

Summary



You have progressed to a stage in the flow that the data is filled with the New harness and you need to save the test case. The ‘save test cases’ button is disabled.

Error Messages



Not Applicable

Steps to Reproduce



Record a test case when you are in the New harness to observe the issue.

Root Cause



The current design does not support saving a test case before creating a work object ID.

Resolution



This issue is resolved through the following local-change:

Make the below changes to the RunFlowTopFrame HTML rule in private edit of the user's login.
 
1. Remove the below block of code.


{when pyWorkPage.pyID==""}
disableAllSaves = true;
{/when}

 
 
2. Replace 
{when pyWorkPage.pyID!="" && {%tools.findPage("TestCaseOpts") != null%} }
with
{when {%tools.findPage("TestCaseOpts") != null%} }
 
 
3. Replace
{when pyWorkPage.pyID!="" && {%tools.findPage("pgFromWorkList") != null%} }  
with
{when {%tools.findPage("pgFromWorkList") != null%} }

Published July 21, 2015 - 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?

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