Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Now let's assume you want to add another test case to test suite PurchaseOrderExample.
Image Modified | Switch to the Trace Analyzer and duplicate the test case Get Purchase Order 1. |
Image Modified | Assign the name Get Purchase Order 4 and change the request values as shown on the left. |
Start the PurchaseOrderExample service and run the test case. It will turn red and display "Requested persistent state object does not exist." This is correct - an order n° 4 wasn't created and will never been created during the tests.
Switch back to the Regression Test Tool again.
Image Modified | Select test suite getPurchaseOrder and select Import Testcases from the context menu. |
Image Modified | Select the newly created test case Get Purchase Order 4 and click OK. |
|
icon | false |
---|
Run the test suite PurchaseOrderExample. The newly added test gets red. Select the test error and look at the differences. |
The error is due to a time stamp in the error message returned by the E2E ServerBridge. The error by itself is correct as there is no order n° 4.
Add this XML element to the differences to ignore of this single test case and re-run the test suite. It is green now.
Moveon | ||
---|---|---|
|
Rp |
---|