Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Watch the video tutorial about how to perform offline test suite execution here:

...

  1. Open the QAS client.

  2. Select the project from which you want to create an offline suite.

  3. From the Expand menu, click Execute.

  4. In the left pane, select a test suite, and mark the test cases that you want to include in the offline suite, and click Save.

  5. Click the Save execution files button ().

  6. Select the required execution profile from the drop-down list.
    Note: For a desktop project, the System Execution Profile settings are used instead of the Execution Profile.

  7. Click the Save button(). 

Info

You can export the execution profiles from a Qualitia Web/Mobile project. For more information, refer to Exporting an Execution Profile.

Configuring the Settings for an Offline Suite

...

  1. Open the test case from Qualitia Client. For instructions on how to open a test case from Qualitia Client, refer to Editing a Test Case.

  2. Open the Test Data explorer to edit test data. For instructions on how to edit test data, Adding Test Data for a Test Case .

  3. Re-create the offline suite. For instructions on how to create an offline suite, refer to Offline Package .

...

  1. Copy the offline package along with the offline suite to the shared drive with the read and write access.

  2. Map the shared drive to the local computer.

  3. Configure the offline suite as per your requirements. For detailed instructions, refer to Configuring the Settings for an Offline Suite.

  4. Do one of the following: 

    1. Open the Command Prompt, navigate to the mapped drive location that contains the offline package and suite, and then execute the offline package using the command line.
      For detailed instructions, refer to Executing an Offline Package using CLI Commands.

    2. Open the mapped drive and double-click the offline package (8.36.x jar).

Executing a Shared Offline Suite Without Mapping the Shared Drive to the Local Computer

...

  1. Copy the offline package along with the offline suite to the shared drive with read and write access.

  2. Open the shared location and double-click the offline package (8.36.x jar).
    Note: You cannot execute an offline suite using the command prompt by specifying the complete UNC (Shared location).

...

  1. Configure the offline suite as per the requirements. For detailed instructions, refer to Configuring the System Execution Profile Settings for a Desktop Project.

  2. Do one of the following: 

    • Open the command prompt, navigate to the mapped drive location that contains the offline package and offline suite, and then execute the offline suite using the command line.
      For detailed instructions, refer to Configuring the Qualitia Client Settings .

    • Navigate to the mapped drive location that contains the offline package and the offline suite, and double-click the offline package (8.36.x jar).

Execution using Continuous Integration Tools

...

Method

Steps

Using Qualitia Client or OfflineConfigManager Utility

for Offline Packages

Do in the following order listed:

  1. Open the associated execution for a test suite.

  2. From the Browser list, select Chrome or Firefox

  3. Select the Desired Capabilities checkbox.

  4. If you have selected Chrome, select the chromeOptions checkbox, select the args checkbox, and enter --headless in the associated field.

  5. If you have selected Firefox, select the firefoxOptions checkbox, select the args checkbox, and enter --headless in the associated field.

  6. Click Ok.

Using CLI Command

Do in the following order listed:

  1. Open the Command Prompt.

  2. Navigate to the location where you have saved the offline package.

  3. If you want to execute on Chrome, enter the following code:
    java -jar qualitiaoffline-xxxx.jar googleChrome.chromeOptions.args=--headless

  4. If you want to execute on Firefox, enter the following code:
    java -jar qualitiaoffline-xxxx.jar firefox.firefoxOptions.args=--headless.

...