Versions Compared

Key

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

Qualitia supports headless executions. In headless mode, executions are possible with PC without display, keyboard, and mouse. Such executions are known to be faster as compared to normal executions. You can use Google Chrome and Mozilla Firefox browsers to execute test cases in headless mode. Table of ContentsmaxLevel2minLevel2

Execution Using googlechromedc.properties/firefoxdc.properties (Chrome/Firefox Options)


Qualitia supports headless test case execution on following browsers and operating systems.


WindowsMacLinux
Google Chromev60+v59+v59+
Firefoxv56+v56+v55+

Table of Contents
maxLevel2
minLevel2

Execution Using googlechromedc.properties/firefoxdc.properties (Chrome/Firefox Options)

For Firefox 56 and above and for Chrome 60 and above, you can execute test cases in headless mode using Chrome/Firefox Options from the firefoxdc.properties or googlechromedc.properties files.

Google Chrome

To execute test cases in the headless using mode on Chrome.

  1. Open googlechromedc.properties.
  2. In the Chrome options properties section:
    1. Set custom_use_chromeoptions as True.
    2. Set args as --headless.

Firefox

To execute test cases in the headless using mode on Firefox.

  1. Open firefoxdc.properties.
  2. In the Firefox options properties section:
    1. Set custom_use_firefoxoptions as True.
    2. Set args as -headless.

...

  1. Open qualitia.properties.
  2. In the Headless Execution Properties section:
    1. Set HeadlessMode as True.
    2. Set Display and BrowserBinaryPath as per the requirements.

There are multiple configurations and allied software components that are required to support executions in headless mode on Linux. In order to execute test cases in headless mode, you need to configure the headless box by installing X Virtual FrameBuffer (Xvfb).

...