Testing with .otd test scripts
You can add, configure and execute .otd test scripts in a standalone mode or from a test suite in Rational® Test RealTime for Eclipse IDE.
About this task
You must import the .otd file in a project and configure the test script to be able to execute it and see the results.
Procedure
-
Select
and choose and select the files that you want to import. Note: You can import these files in any folder at any file structure level.
- Follow the instructions that are described in the Configuring .ptu or .otd test scripts page to configure .otd test scripts.
-
To execute .otd files, use one of the following methods:
- Right-click the .otd file and choose .
- Alternatively, proceed as follows:
- Select Run Configurations.
- Select the .otd file under Test Script file, in the dialog that opens.
- Right-click and select New to create a new launch configuration.
- Set a name to your launch configuration.
- Select your .otd file in Select Application panel, in the Testing Script tab.
- Select your configuration in the Configurations panel and click Run. The reports are available into the Test Result folder.
- To execute multiple .otd test scripts from a Test Suite, see Running a test suite.
A test report and runtime analysis reports are generated. The reports are available into the Test Result folder. From these files, you can open the appropriate HTML reports. - To open the reports, select the report file corresponding to your last execution, right-click and select .