Versions Compared

Key

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

Qualitia supports headless executions. In headless mode, tests are executed without display, keyboard, and mouse. Such executions are known to be faster as compared to executions that use a display. You can use Google Chrome and Mozilla Firefox browsers to execute test cases in headless mode.

...

Method

Steps

Using Qualitia Client or OfflineConfigManager Utility

for Offline Packages

Do the following in the order listed:

  1. Open the associated execution for a test suite.
  2. From the Browser list, select Chrome or Firefox
  3. Select the Edit 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 the following in the 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 ChromeFirefox, enter the following code:
    java -jar qualitiaoffline-xxxx.jar firefox.firefoxOptions.args=--headless.

...