Connecting Real iOS & Android Devices from Cloud to Appium Studio

Step-by-Step Procedure on Connecting Real iOS & Android Devices from Cloud to Appium Studio:

This tutorial is a part of our Appium Studio hands-on training series.

 USB Recommendations:

  • Ensure that neither Samsung Kies nor HTC Sync is installed on your system.
  • Only use the proper, original cables for each device.
  • Only use backports from a desktop.
  • Disconnect devices using the USB cable, not the device port, as the number of times a USB port can be connected or disconnected is limited.
  • Do not use USB V3.0 ports.
  • We recommend Plugable USB 2.0 7 as a USB hub
  • Ensure iTunes is up to date.

connecting to appium studio

Connect an iOS Device to Appium Studio

iOS applications and device springboards can both be fully controlled with Appium Studio. Control of the springboard gives you control over: device settings, non-instrumented applications (SMS, Contacts, Dialer, etc…), launch and kill applications and application life-cycles.

Download the free Appium Studio Community Edition

Here is a video tutorial:

Note:   If you do not need to control the device springboard and simply wish to test your application, Option B below provides a one-step connectivity plan.

For Testing and Springboard access to your iOS device:

Step 1:

  1. Close Appium Studio so USB drivers can update and install iTunes.
  2. Connect the device to be tested to your computer via USB.

Step 2:Run Appium Studio, navigate to Device Manager, click “Add Device,” and select “iOS Device.”

Step 3: There will be a dialog box that open. Click the checkbox labeled “Full Control.”

Full Control

Step 4: Click “Configure Profile” on the announcement prompt that appears.

Configure Profile

Step 5: The next dialog prompt will show you all your configured provision profiles and their associated devices:

iOS Profile Management

Step 6: Click “Import,” and a new window will open.

Select one of the following options to continue:

iOS Code Signing Configuration

Step 7:  Select your initially connected device in the Device Manager, then click “Edit Device.”

Edit Device

Step 8: A dialog box will be displayed.

Verify the following:

  • That the type of the device is correct.
  • That the host featured is USB.
  • That the ‘Full Control’ checkbox is selected.

Full Control Checkbox

Note:  If a profile is already configured to the device, then the checkbox will be enabled by default.

Step 9: Click OK.

Now the device will be available on the Device List and labeled “Ready.”

Step 10: Click “Open Device” to open the Device Reflection on your screen.

Open Device Reflection

Connect an Android Device to Appium Studio

  • Your machine should have your devices’ USB drivers installed.
  • USB drivers are unique to each manufacturer. Use the following link to view websites for OEMs (Original Equipment Manufacturers) to download the appropriate drivers.
  • There should be multiple serial numbers for multiple devices, otherwise, only one device will be identified. Generally, serial numbers are unique, but there are special cases in which two devices might have same one (for example: 123456).
  • Any device connected should have “USB debugging” enabled if it is an option.

Enable USB Debugging

On version 4 or lower devices, USB debugging can be enabled by going to Settings => Applications => Development and enabling USB debugging there.

Enable USB Debugging

With version 4.2 or higher, follow these steps instead:

  1. Settings > About Phone > Build number > Tap it 7 times to become developer.
  2. Settings > Developer Options > USB Debugging.

After connecting the USB cable, an “Allow USB debugging” dialog box will pop up. Click “OK.”

Allow USB Debugging

Add the device to Appium Studio

1. Navigate to Appium Studio’s “Device” tab.

Click “Add Device” and select “Android.”

Add deviice

In the case that there are no Android devices detected, USB driver links will be provided.

Device USB Drivers

Repeat Step 1 after the appropriate USB driver has been downloaded.

The serial number of your Android device should then appear in a pop-up window.

You should then be able to choose the device orientation:

  1.       Auto-Rotate.
  2.        Portrait.
  3.        Landscape.

Give the device a name and click “OK.”

Name the device

The “Device” list will then be populated with the selected device.

Open Device

Select your device and click “Open Device,” ensuring that the device status changes from “Ready” to “Open.”

Open Device

The device reflection will then appear.

Device Reflection

Our upcoming tutorial will explain more about the role of Emulators and Simulators in Appium Studio.

PREVIOUS Tutorial #2 | NEXT Tutorial #4