Follow these steps to get up and running in 10 minutes
1. Configure ReadyAPI project¶
2. Export Project¶
Export ReadyAPI project into ALM. Simply right click the project and select Dragonfly: Export to HP ALM. Dragonfly plugin will show a progress bar and live export status in the Dragonfly tab.
Export to ALM action can also be invoked from the ReadyAPI testsuite or testcase. Project action will export/update the entire project. Whereas, testsuite or testcase level actions will only export/update the specified testsuite and testcase respectively.
users don't have to worry about manually creating any of the QC_TestPlanDirectory, QC_TestLabDirectory, or QC_TestSet. Dragonfly is smart enough to figure this out and create it automatically at run time.
3. Validate Export¶
The ReadyAPI tests should now be visible in the specified TestPlan directory.
4a. Run tests from ReadyAPI¶
4b. Run tests from HP ALM¶
To run the tests from HP ALM Testlab, create a testset and add tests cases to the testset just like you would when running HP UFT, QTP, etc.
HP ALM Host setup requirements
When running ReadyAPI tests from HP ALM, the tests will run on some set of hosts selected by the user. The user must make sure that these hosts have all the necessary setup: ReadyAPI, dragonfly, licenses, and the ReadyAPI project.
TestLab path and Testset name in project custom properties
Make sure that the path you create in Testlab is the same path that is specified in your ReadyAPI project properties.
5. Viewing Test Results in HP ALM TestLab¶
Go to the appropriate TestLab and TestSet. This page will show you the last ReadyAPI run summary.
To view run details or to view run history, click on the testcase in the testset and select Runs. The Runs view shows all the runs for this test case. It is useful to see why a test case started failing. Click on the failing Run ID to view the request and response for the various test steps.