Document toolboxDocument toolbox

Header

(8.6.X) Limitations of Remote/Cloud Executions

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

Lack of Support for Java Robot Based Actions:

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

  • DownloadFile
  • WindowsAuthentication
  • PressKeys

Lack of support for java robot based actions on Cloud / 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 Cloud environment.

Lack of Support for Headless Mode:

Cloud execution environment does not support the Headless mode.

For parallel execution in Cloud, 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 Cloud environment using user defined Firefox profile is experimental.

Support for AutoIT in Cloud 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 the following properties in the Edit Additional capabilities in the associated execution profile.

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



Footer