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 in the following in the order listed: - Open the associated execution for a test suite.
- From the Browser list, select Chrome or Firefox
- Select the Edit Desired Capabilities checkbox.
- If you have selected Chrome, select the chromeOptions checkbox, select the args checkbox, and enter --headless in the associated field.
- If you have selected Firefox, select the firefoxOptions checkbox, select the args checkbox, and enter --headless in the associated field.
- Click Ok.
|
Using CLI Command | Do in the following in the order listed: Open the Command Prompt. Navigate to the location where you have saved the offline package. - If you want to execute on Chrome, enter the following code:
java -jar qualitiaoffline-xxxx.jar googleChrome.chromeOptions.args=--headless - If you want to execute on Firefox, enter the following code:
java -jar qualitiaoffline-xxxx.jar firefox.firefoxOptions.args=--headless.
|
...
Note |
---|
Execution using X Virtual Frame Buffer (Xvfb) on Linux is no longer supported. You can execute test cases headlessly on headless mode on Linux using any of these methods mentioned above. |
...