A new version of Qualitia Automation Studio for Web and Mobile 7.2.x is now available. We highly recommend you upgrade. Find more details here.

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 13 Current »

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.

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


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

Three ways to execute test cases headlessly: 

You can execute test cases headlessly from your Qualitia Bot (erstwhile Qualitia offline package) using some options from the googlechromedc.properties / firefoxdc.properties file.You will find these files in the config folder of Qualitia bot.

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

Using qualitia.properties (Headless Execution Properties)

You can execute test cases headlessly from your Qualitia Bot (erstwhile Qualitia offline package) using some options from the qualitia.properties file. You will find this file in the config folder of Qualitia bot.

If you are using Mozilla Firefox versions below 56, headless executions can be triggered only by setting Headless Execution Properties in the qualitia.properties file. This mode of headless execution works on Linux only.

To execute using qualitia.properties

  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.


Execution using X Virtual Frame Buffer (Xvfb) on Linux is no longer supported. You can execute test cases headlessly on Linux using any of these methods mentioned above.  

  • No labels