Scan mobile applications
Your application has various controls, which are elements that Tosca Cloud interacts with when you run your tests. To make this possible, you must first scan your application. This gets the necessary technical data into Tosca Cloud.
This topic explains how to scan
With the mobile scan, you connect to a mobile device and then scan your application for this device type. For example, scan your native app on a particular iOs device. You can then use the resulting module to test your native app on this device type.
If you want to create tests for oSetther device types, you need to repeat the scan for the other device type.
Start the scan
To start the scan, follow these steps:
-
Open the test case building area by selecting
Create test case in the menu bar on the left.
-
Select Modules and then + Create module.
-
Select Mobile application from the dropdown menu.
Specify the session settings
After you start the scan, you need to configure the settings for the session.
Select your connection
Choose the service that you want to connect to.
If this is your first mobile scanning session, start by adding a connection. To do so, select Create Connection and define your connection.
Select your capabilities
Choose the capability set you want to use for this session. Capabilities allow you to define how the app under test will behave during automation. For example, if your app is localized into multiple languages and you want to launch just the Japanese version.
If this is your first scanning session, start by adding a capability set, which is a bundle of capabilities. To do so, select Create capabilities and then define your capabilities.
Choose your controls
Once you've defined the session settings, it's time to proceed with the actual scan. That's where you select the controls that you want to add to your new module.
The mobile scan works exactly like Tosca XScan, so you don't need to learn any new tricks. For information on how to choose controls with Tosca XScan, check out the Tosca XScan topic.
What's next
Now that you have your mobile modules, you can start creating mobile test cases.