Running Test Cases from the Project Editor

To run test cases from the Project editor:

  1. In the Activation Project editor, click the Testing tab.

    All test cases you created for the project are displayed and are ready to be run at the same time.

    Alternatively, you could prepare to run one or multiple test cases by deselecting the Include all from Project check box, clicking Select, and then selecting one or more specific test cases from a selection dialog box.

  2. From the Environment list, select the environment in which you want to run your tests.

  3. Do any one of the following:

    • Click Run All to run all test cases from your project simultaneously.

    • Click Run to select only one test case from the list.

    A test status of PASS or FAIL appears in the Console view. Additionally, information will appear for problems encountered when running the test. If no problems are encountered and the order has passed, then Design Studio submits the work order to the ASAP environment.

Note:

When selecting Run All to run all test cases at once, you have two options for displaying the test results:

  • Option 1: Display the results for each test case in a separate console (by leaving the Separate Console for each Test Case check box checked in the Project editor). You can access a specific console by clicking the down-arrow beside the Display Selected Console icon. This displays a list of all available consoles currently on the system, including the consoles for each test case, and enables you to view the results for any each case. For example, if you are viewing results for Test007 and want to view and compare the results for Testcase_Check, then simply click the down-arrow and select Testcase_Check from the list. The results for the selected test case will appear in a separate console.

  • Option 2: Display the results for all test cases in one console (by deselecting the Separate Console for each Test Case check box in the Project editor). The results for all test cases will appear in one console.

Note:

For additional information on consoles and associated icons, refer to the Eclipse online help.