Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
You can execute Azure DevOps pipelines by mapping them with the relevant offline suites.
Pre-requisites:
Ensure that your computer contains the following components:
Access to Azure DevOps | Register with Azure DevOps account. |
Access to Azure DevOps Agent | Download the Azure DevOps agent account. For |
Build or Release Pipeline | Create a build or a release pipeline to map with Qualitia test cases. For detailed instructions, refer to the following links: |
Offline Package | Offline package creation is a one-time activity on your computer to execute offline suites. For detailed instructions on offline suite creation, refer to Creating an Offline Package. Note: If you have installed the QAS client on another computer, create the offline package from that computer and transfer it to your computer. |
Offline Suite | Create a test suite using that includes the test cases associated with the pipeline. After a test suite is created, create an offline suite. For detailed instructions on offline suite creation, refer to Creating an Offline Suite. |
Configure the Offline Package File | To specify that the CI Tool used is Azure DevOps. For detailed instructions on offline suite creation, refer to Creating an Offline Suite. |
Configuring
the Suites-Dir file for an Offline Suitethe Offline Package File
Info |
---|
You can skip this configuration if you set the value of CI_Tool to Azure DevOps in the mapped execution profile of the offline suite that you want to execute. |
To configure the Offline Package file:
- Open the extracted Qualitia Offline folder.
- Open the config folder.
- Open the startupSettings file in Notepad.
- Set value of CI_Tool to Azure DevOps.
Configuring the Pipeline
To configure the pipeline:
- Open the pipeline in Azure DevOps.
- Add two Command Line Prompt Utilities with names of your choice.
Azure DevOps adds these two as jobs. - Open the first job to enter the following information, in Script:
- Enter the location of the Java path enclosed with inverted commas.
- Add -jar separated by space next to Java path
- Add Qualitia offline suite jar path enclosed with inverted commas next to -jar.
For example, "C:\Program Files\Java\jre1.8.0_261\bin\java.exe" -jar "D:\offliesuites\Qualitia Offline\qualitiaoffline-8.3.1.jar"
- Expand Advanced, enter the location of offline suite enclosed with inverted commas, in Working Directory.
For example, "D:\offliesuites\PaymentModule\Qualitia Offline" - Open the second job to enter the following information, in Script:
@echo PassedCount = %PASSEDCOUNT%
@echo FailedCount = %FAILEDCOUNT%
@echo DefectCount = %DEFECTCOUNT%
@echo NotExecutionCount = %NECOUNT%
@echo TotalCount = %TOTALTCCOUNT%
Note: You can specify the names of jobs, such as Qualitia Offline Suite Name and Suite Name Settings to identify the pipeline with the offline suite.
Executing a Pipeline
After you configure the jobs in of the associated pipeline and edited the changes in Suite-Dir file of the associated offline suite, you can now execute the pipeline.
To execute a pipeline:
Open the pipeline that you want to executein Azure DevOps, execute the pipeline in Azure DevOps.
Viewing the Suite Execution Reports
If you have configured the Qulaitia Server URL in the mapped execution profile, you can track the pipeline execution in the Real Time Reporting Portal,. .
The suite execution result is displayed as Offline Azure DevOps.
Else, if you did not connect with Qulaitia Server or the connection with Qualitia Server was lost during the pipeline execution. you can upload the locally saved suite execution report in the following ways:
- Uploading a Test Suite Execution Summary Report
- Uploading Multiple Suite Execution Reports to Real-Time Reporting Portal
On this page:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|