Back Forward Service SAP form
Working with the Test Cases tab

  1. About 
  2. New 
  3. Service 
  4. Request 
  5. Response 
  6. Faults 
  7. XML Page 
  1. Advanced 
  2. Test Cases 
  3. History 
  4. More... 

This tab is visible only to operators who have the AutomatedTesting privilege through an access role.

Use the Test Cases tab to work with test cases for this Service SAP rule. You can record new test cases, play back saved test cases, view previously saved test case results, and request a report that alerts you to test cases that might need to be updated or re-recorded.

Recording test cases and viewing invalid test cases

Using the buttons on the Test Cases tab, you can record new test cases or request a report that alerts you to test cases that might need to be updated or re-recorded:

Field

Description

Record Nlw Test Case

Click to record a new test case for unit testing this Service SAP rule. After the Simulate SOAP Service Execution window opens, unit test the rule, and then save that run as a test case. See How to Unit Test a Service SOAP Rule for more information.

Invalid Test Cases

Click to get a report of any test cases saved for this Service SAP rule that might need to be updated or re-recorded. If rules have changed, test cases that were recorded prior to the changes might not return the expected results. Examine the Invalid Test Cases report to see which test cases are affected.

When you click this button, the Invalid Test Cases window opens, and you can choose to run the report immediately or to run as a background process and have the results emailed to you. If you run the report immediately, the Test Case window opens and displays the list of test cases.

Refresh

Click to update the list of saved test cases displayed on this tab.

If any test cases are saved for this Service SAP rule, they are listed in the table in the center of this tab. You can run an individual test case by selecting its name. If a test case has saved results, you can view those results by selecting View Results.

Field

Description

Name

Name of the previously recorded and saved test case. To play back that test case, click its name in this list. The Simulate SOAP Service Execution window opens and you can click the Run Test Case button in that window to run the test case.

Created By

Operator who created the saved test case.

Created On

When the saved test case was created.

Last Run On

When the saved test case was last run.

Status of Last Run

The test case's status from the last time it was run.

Saved Results

Indicates whether there are any previously saved results for that test case. If a test case has results saved, you can click View Results to open a window that displays the previously saved results. Saved results exist if some differences in the results were found the last time the test case was run, and the choice was made at that time to save those differences in the test case.

Playing back saved test cases

To play back a saved test case, click its name in the Name field.

The Simulate SOAP Service Execution window opens and the system runs the test case. If differences are found between the results of running the current state of the rule and the saved test case, they are displayed with the following options.

Field

Description

Save Ignores

The differences encountered are displayed in the lower part of the window. If you want to indicate that a difference is to be ignored in future runs, you can select to have the system ignore it for either this test case or for all test cases, and then click Save Ignores to save your choices.

You can also indicate that an entire page should be ignored in future runs of this specific test case by selecting the checkbox corresponding to that page name. If you specify to ignore a page, all property differences found on that page are ignored each time this test case runs.

Overwrite Test Case

Click to overwrite this test case with the current run state.

Save Results

Click to save the results from playing back this test case.

Related topics About Automated Unit Testing
About Test Cases
Standard rules Atlas — Standard privileges

UpAbout Service SAP rules