Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You can execute Azure DevOps pipelines by mapping 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 to your computer.

Offline Suite

Create a test suite using the test cases. 

After a test suite is created, create an offline suite.

For detailed instructions on offline suite creation, refer to Creating an Offline Suite.

Configuring the Suites-Dir file for an Offline Suite


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 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 execute.


Viewing the 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,

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:


  • No labels