Building a test scenario involves the steps listed below:
-
Create test cases and reference data with the Trace Analyzer.
Create all test cases you need for regression testing with the Trace Analyzer and run them to create the reference data. -
Create a test suite in the Regression Test Tool and import the previously defined test cases.
In the Regression Test Tool, create a test suite and import the test cases from the Trace Analyzer into this test suite. Sort the tests into a meaningful order. -
Run the test suite and evaluate the test case results.
Running a test suite will create test data that can be compared to the previously defined reference data. The result of the test case comparison must then be evaluated.
Additionally you may want to
-
Add a test case to a test suite.
Define a test case in the Trace Analyzer and import that single test case to a test suite in the Regression Test Tool. -
Use a test suite as a library.
Convert a test suite into a library so that it can be used in multiple tests, e.g. on different platforms.
Example
The following chapters explain the process of building a test scenario in the Regression Test Tool in a tutorial-like style. All explanations are based on the RESTAPI_SupportManager_Example service.
Click here to download the RESTAPI_SupportManager_Example sample Builder project. The ZIP file contains
-
a valid Builder project you can use right from the start
-
a service repository in folder repository for you to deploy on your test PAS installation
-
some predefined test cases that save you from creating all test cases from scratch
Start
Start the Analyzer and open the Builder project for which you want to build a test scenario in the Regression Test Tool.
Within the Analyzer, all service definitions are stored to so called “Builder projects”. To be able to work with the Analyzer, you need a Builder project where your test data is stored. Creating and Managing Builder Projects describes how to create a Builder project if you do not already have one.
Refer to Getting Started with the Analyzer for an overview on the Analyzer UI and menus.
If you are using the RESTAPI_SupportManager_Example sample Builder project, you can start right away.