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

When using Qualitia Offline Package on the Remote and Sauce environments, following are the limitations users face when executing test cases.

Lack of Support for Java Robot Based Actions:

Sauce does not support Java robot based actions when executing test cases. Hence following actions do not get executed in Sauce and Remote environment;

  • AttachFile
  • DownloadFile
  • WindowsAuthentication
  • PressKeys

Lack of support for java robot based actions on Sauce / Remote environment fails the test case executions.


In order to overcome this problem, you need to validate the test cases that have java based robot actions as mentioned above and;

  • either execute them in local environments or
  • create their AutoIt scripts to be executed in Sauce environment.

For more information about support for AutoIt, please refer to the Support for AutoIT in Sauce Execution Environment section.

Lack of Support for Headless Mode:

Sauce execution environment does not support the Headless mode.

For parallel execution in Sauce, you can execute tests in multiple VMs. A separate VM is allocated to execute each offline package, so you can run multiple offline packages to get multiple VMs.

User Defined Firefox Profile:

Executing test cases in Sauce environment using user defined Firefox profile is experimental.

Support for AutoIT in Sauce Execution Environment

In order to achieve execution of Windows based actions such as DownloadFile, PressKeys, WindowsAuthentication, and so on, Qualitia supports Sauce's "Pre-Run" feature. It allows uploading AutoIT.exe (or any exe) and running before starting test case executions. Running .exe performs the windows based actions flawlessly.

In order to achieve this, you need to set following properties in the Sauce.properties file.

  • custom_use_prerun: This option decides whether to use Pre-Run feature or not. Set it as true to run the Pre-Run feature.
  • custom_exe_name: This contains the exe file name to be executed in Sauce environment. To run exe in Sauce, you must upload the file to Sauce network.
  • args: It is the list of command line parameters that you want to execute.
  • custom_use_upload: This option decides whether to upload file in Sauce network or not. Set it as true to use upload related properties.
  • custom_file_path: Set this to the valid path where the file is located to be uploaded in the Sauce network.
  • Same way set all other properties for pre-run and uploading script file.
  • For more information about the Pre-Run feature operation, please refer following links,
AutoIT works only on Windows platform and does not support other platforms such as Linux, Mac, and so on. End user is responsible for writing AutoIT scripts and generating respective .exe file. Qualitia provides an example of AutoIT script in the Help folder of Qualitia package.


  • No labels