You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
In order to perform test case execution using Appium, you need to connect the mobile devices with the computer. Once you connect devices with computer you can easily locate objects (also called spying) in order to create new objects in Qualitia.
Configuring Android Devices for Automation
You need to enable the Developer Options in the Android device and enable the USB debugging mode.
To enable Developer Option:
- Go to Settings.
- Scroll down to the bottom and tap the About Phone option.
- Scroll down to the bottom on the About Phone screen. You will see option Build Number.
- Tap seven times on Build Number option. After three taps, it will display a message such as, "You are now 2 steps away from being a developer".
After tapping for seven times, it will display a message that "You are now a developer". - Go back to Settings and scroll down to the bottom.
- You will see option Developer Options above About Phone.
- Connect your device with PC using USB cable.
- Go to Settings > Developer options.
- Select the USB Debugging check box.
A pop-up is displayed asking confirmation about switching on USB Debugging. - Click OK.
Configuring iOS Device for Automation
In order to get started with application testing, you need to first configure your devices. Changing some settings helps you configure your devices for application testing.
General Settings
You need to enable the Web Inspector and JavaScript options in the iOS device.
To enable Web Inspector and JavaScript options:
- Open the Settings app.
- Tap Safari.
- Scroll down and select Advanced.
- Switch on Web Inspector and JavaScript options.
- Connect your device to Mac using USB cable.
- Launch the Safari browser on your Mac.
- On the Develop menu, click the logged in Username.
A list of open web applications is displayed. You can select from applications.
Your device is now successfully connected to Mac.
Configuring iOS Device for Native Application Testing
In order to use the physical iOS device / Simulator for native application testing enable the UI Automation option from the Settings section.
To enable UI Automation option:
- On your iOS device, launch Settings.
- Tap the Developer option.
- Ensure that the Enable UI Automation option is tuned on.
Configuring iOS Simulators for Native Application Testing
In order to execute native application test cases on iOS simulator, you need disable Hardware Keyboard, Auto-Correction, and Auto-Capitalization options as follows.
To disable Hardware Keyboard:
- On the Simulator menu in Mac OS, click Hardware > Keyboard.
- Deselect the Connect Hardware Keyboard option.
To disable Auto-Correction and Auto-Capitalization:
- Inside the Simulator screen, click Settings > General > Keyboard.
- Deselect the Auto-Correction and Auto-Capitalization options.