Preparing test cases in IBM® Engineering Test Management
You must create a test script and a test case on IBM® Engineering Test Management to run the test assets.
Before you begin
You must have completed the following tasks:
-
Added the adapter files to the installation directory of Engineering Test Management. See Adding the adapter files to IBM Engineering Test Management.
-
Configured the details of Engineering Test Management on Rational® Test Automation Server. See Configuring IBM Engineering Test Management on Rational Test Automation Server.
-
Generated an offline user token from Rational® Test Automation Server. See Generating an offline token.
-
Copied the following values to be used during the preparation of a test script and a test case:
-
Branch name of the Git repository
-
Asset ID of the test that you want to run
-
Optional: Name of the environment if you want to run the API test suite.
-
Procedure
- Log in to Engineering Test Management, if you are not already logged in.
- Open your project area from where you want to run the test assets.
- Click Construction, and then click Test Script from the drop-down list.
- Enter a name for the test script in the Test Script field.
- Select Rational Test Automation Server from the Type drop-down list.
-
Enter the following test information:
Fields Actions Offline Token Enter the offline token that you generated from Rational® Test Automation Server. Branch Enter the name of the branch where your test assets are stored. Asset ID Enter an asset ID of the test asset that is available on the Execution page of Rational® Test Automation Server. Tip: You can hover over the name of the test asset to view and copy the asset ID.Environment Enter a name of the API test environment. Remember: You must use this field only if you want to run the API test suites. - Click Save.
-
Perform the following steps to add a test script to a test case: