How to Run Tests in ALM
This task describes how to run tests in your project using the ALM Test Lab module.
To learn more about running tests, see Test Execution Overview.
Higher-level task: This task is part of a higher-level task. For details, see Introducing ALM.
-
Create and define test sets in the Test Lab module. After you have created test sets, you can assign test set folders to cycles defined in the releases tree in the Releases module.
For task details, see How to Create Test Sets.
To learn more about the different types of test sets, see Test Set Specification Overview.
-
Run tests in a Functional test set
ALM Editions: Functional test sets are available only for ALM Edition. For more information about ALM editions and their functionality, see ALM Editions. To find out what edition of ALM you are using, ask your ALM site administrator.
The tests in Functional test sets run using server-side execution. You can reserve resources for running functional test sets to ensure that they are available for the duration of the run. To run tests in a Functional test set, do one of the following:
- To schedule a test set run for the future, reserve a timeslot in the Timeslots module. For details, see How to Reserve Testing Timeslots in ALM.
- To arrange for a test to run in a timeslot immediately, use the Execution Grid tab in the Test Lab module. For details, see How to Run Tests Automatically.
-
Run tests in a Default test set
The tests in Default test sets run using client-side execution. You control and run the tests from your machine by using the Test Lab module. To run tests in a Default test set, do one of the following:
-
Run manual and automated tests manually, executing the test steps that you defined during test planning. For task details, see How to Run Tests Manually.
-
Arrange for manual and automated tests in a test set to run automatically. For task details, see How to Run Tests Automatically.
-
-
Performance Center: You can run performance tests to create load on an application and test its performance. For details, refer to the Performance Center documentation.
You can reserve the resources required for running performance tests to ensure that they are available for the duration of the test run.
- To schedule a performance test run for the future, reserve a timeslot in the Timeslots module. For details, see How to Reserve Testing Timeslots in ALM.
- To arrange for a test to run in an a timeslot immediately, use the Execution Grid tab in the Test Lab module. For details, see How to Run Tests Automatically.
ALM Editions: Performance test execution is available only for ALM Edition and Performance Center Edition. For more information about ALM editions and their functionality, see ALM Editions. To find out what edition of ALM you are using, ask your ALM site administrator.
-
After you run tests, review results to determine if the actual results match the expected test results. For task details on viewing test results, see How to View Test Runs.
You can also analyze run data by creating graphs and reports. Do one of the following:
View dynamic graphs of test set folders In the test sets tree, select a test folder, and click the Live Analysis tab. For task details on generating live analysis graphs, see How to Generate Live Analysis Graphs. View test set data in a graph On the Test Lab module menu, select Analysis > Graphs. For task details on generating graphs, see How to Generate a Graph. Create a report of test set data On the Test Lab module menu, select Analysis > Project Report. For task details on creating reports, see How to Create Project Reports. For details on additional analysis tools in ALM, see How to Analyze Data in ALM.
-
If a defect has been detected, you can create a new defect and link it to the test set, test instance, test run, or run step, or you can link it to an already-existing defect.
For user interface details, see Linked Defects/Entities Page.
See also: