Launching a Mobile Device and Application Under Test
Launching Devices
After you sign in to Mobile Object Spy, you can select the device from the available list of devices and use them to launch and add objects from the application under test.
Mobile Object Spy displays all the devices connected to all the agents. This connected list of devices includes real devices, emulators and simulators.
It is recommended to use single simulator/emulator per agent while working with mobile object spy. You can seamlessly use multiple real devices at a single time.
To launch a mobile device:
- Launch Mobile Object Spy on any browser using Mobile Object Spy URL.
Mobile Object Spy URL is a combination of hostname/IP of the machine where Mobile Object Spy server is installed along with the port 4001.
Sample URL may look like: http://192.168.25.77:4001 or http://localhost:4001. - Enter Qualitia Server URL, User id and Password.
Qualitia Server URL is a combination of Hostname/IP of the server where you have installed Qualitia server along with the port 8887.
Sample URL may look like: http://192.168.25.77:8887 or http://localhost:8887. - Select the Qualitia project under which you want to add new objects.
Here you will see all the real devices connected to the agent Mobile Object Spy agents along with the emulators or simulators.
For more information on creating emulators/simulators using Android Studio or XCode, click here. - Click Boot and Connect to boot the device and launch it to spy the objects.
This option is available for emulators/simulators only. Click Connect to launch the real device connected to Mobile Object Spy agent or already started emulator/simulator.
Ensure you have set the default browser as Google Chrome in the real device.
One mobile device can be accessed by one user only. If the device is being accessed by some other user, you will see the device state as Busy.
Launching or Installing an Application Under Test
After you launch mobile object spy and connect to the desired real device or emulator/simulator, you can start adding objects by from the application under test.
You must first launch or install the application under test on the mobile device from which you want to add new objects. Qualitia gives you a provision to install the application under test from Mobile Object Spy itself.
In order to launch application under test on the desired device, you must first create desired emulator/simulator on the Mobile Object Spy agent. For more information about creating and managing emulators, refer to Prerequisites, Privileges, and Configurations section.
To launch an application under test:
- On Mobile Object Spy, connect to the desired device.
- You can launch an application in 3 different ways:
- To launch the already installed application, select the application under test using from the drop-down list.
- To freshly install the application, select the .app, .ipa or .apk file from the local directory and click Install.
- To add objects from the web application, enter Web URL.
When you provide application path and web application URL at the same time, Web URL overrides the application path.
- Click Launch to launch the application.
Once you have launched any application using this method, you can interact with live screen by performing tap, swipe and tap and hold actions. Drag and drop action is not supported. You can launch other applications from the device screen itself.
Also, if you are launching the application which was already running on the device, the application is launched at its current stage. Qualitia does not reset the application when launching it.