Repairing a Test Case


Software upgrades often include test case template changes that add new features, change parameter options, or change the way a test operates. Changes in the system's defined SUTs, test server configuration, or a test case or test case template can require that you either repair a test case or remove it from a test session. When you open a test session, the test system checks for these conditions and notifies you of any changes that require your attention with pop-up messages and by color-coding the test cases displayed in the Session Builder tab.

To repair a test case:

You must Edit... the test case and modify the settings. If the test case fails validation testing, an error message is displayed that indicates which parameter should be modified.

If a test case is red or green due to a software upgrade, a list of changes that have been made to the test case is displayed when you edit the test case. The Test Case Warnings/Errors dialog lists the parameters that have been changed and indicates how the settings have been modified to accommodate the changes.

If the test case continues to show up red or green even after re-saving and re-opening the test session, this should be reported as a bug. It could mean our validation logic is not in sync everywhere, causing the test case to be “stuck green” or “stuck red”. In most cases the test case will still run properly, but depending upon the color and the nature of the bug, it may require the user to always open the test case editor and click OK to get the test to run properly. Green ones (warnings of upgrades and benign changes) should still run without needing to edit them, but red ones by their nature (errors that prevent execution) will require the user to edit the test case with the full editor (not the cross-reference).   

The messages in this window include the parameter location, how it changed, and how your settings were affected. The general format of these messages is <location/protocol> - <parameter> <comment>.

TIPS:

  • If you made any changes to a linked test case, you will be prompted to save the test case... and then all sessions that use the test case are repaired. Save the test session... if you made changes to a local test case.

  • All changes made to test case settings in this release are listed in the What's New topic. Changes made in previous releases can also be accessed through What's New.


 

Related Topics

  1. About Test Cases
  2. About Test Sessions
  3. Using Test Cases