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 AgentDownload 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 FileTo 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 Suite

the 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:

  1. Open the extracted Qualitia Offline folder.
  2. Open the config folder.
  3. Open the startupSettings file in Notepad.
  4. Set value of CI_Tool to Azure DevOps.

Configuring the Pipeline


To configure the pipeline:

  1. Open the pipeline in Azure DevOps.
  2. Add two Command Line Prompt Utilities with names of your choice.
    Azure DevOps adds these two as jobs.
  3. Open the first job to enter the following information, in Script:
    1. Enter the location of the Java path enclosed with inverted commas.
    2. Add -jar separated by space next to Java path
    3. 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"
  4. Expand Advanced, enter the location of offline suite enclosed with inverted commas, in Working Directory.
    For example, "D:\offliesuites\PaymentModule\Qualitia Offline"

  5. 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:

 







On this page:

Table of Contents
maxLevel2
minLevel2
absoluteUrltrue