Configure tests in online clouds
You can run Mobile Engine 3.0 tests on cloud devices, emulators, and simulators. To do so, you must create specific test configuration parameters (TCPs) for each online cloud. Tosca is cloud-agnostic.
For information on how to scan mobile applications in the cloud, see Scan mobile applications in the cloud.
Cloud TCPs overview
The TCPs available for online clouds are as follows:
-
AppPath
-
Browser (hybrid and web app)
-
OperatingSystem
For a list of all mobile TCPs, see Mobile TCPs overview.
In this example, you configure a test using cloud.
TCPs for a native application on an iOS device
TCPs for a native application on an Android device |
Enable controls visibility check in the clouds
By default, Mobile Engine 3.0 skips the visibility check for test automation in the cloud.
You can enable or disable the visibility check depending on your mobile application and performance requirements.
Tricentis recommends disabling the visibility check if you run your tests in a cloud.
To enable or disable the visibility check only for test execution, create the TCP SkipVisibilityCheck and set its value to True or False depending on whether you want to skip the visibility check or not.
To enable or disable the visibility check for both the Mobile Scan and test execution, follow the steps below:
-
Go to C:\ProgramData\TRICENTIS\TOSCA Testsuite\7.0.0\Settings\XML and open the file Settings.xml.
-
Under <Category name="Mobile30">, add the following line of code before the closing tag:
<Setting name="Automation.Mobile30.SkipVisibilityCheck" legacyPath="Automation.Mobile30.SkipVisibilityCheck">False</Setting>
-
Set the value of this setting to True or False depending on whether you want to skip the visibility check or not.
-
Restart Tricentis Tosca.