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 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 extracted QualitiaOffline file.

  2. From the Configuration Manager folder, and double-click the Qualitia Offline Configuration Manager. 

  3. Do one of the following;

    1. Click Browse next to Select the Suite Directory, and then locate and select the offline suite.

    2. Enter the location path of the offline suite folder, and press Tab.

  4. Under the Select the profile to edit, select an execution profile for the test suite.
    The Qualitia Offline Configuration Manager shows the offline suite name and the selected execution profile.
    Note: The offline suite executions that are created to automate testing on a desktop application uses the default execution profile only.

  5. From the Mapped Profile list, select an execution profile that you want to use.
    Note: The default mapped execution profile is the one that was saved while creating the offline suite.

  6. To edit the settings for the offline suite

    1. To change the Qualitia Client Client settings, click the Qualitia Client tab. For more information, refer to General Settings.

    2. To change the values of environment variables, click the Environment Variable tab. 
      Note:

      • You cannot add or edit environment keys.

      • You cannot add a value in the encrypted format and edit any value entered in the encrypted format.
        For more information, refer to Environment Variable.

    3. Perform this step only if Rest Generic Headers are used in the test cases.
      Do the following in the order listed:

      1. Click the Rest Generic Header tab.

      2. Change the header values.

      3. Click Ok to Save.

    4. To change the settings for the selected execution profile, click the Execution Profile tab.
      For more information, refer to

...

Info


Executing an Offline Suite using CLI Commands

...

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.

...