Robotium : Run test scripts on a remote device.

 

android

 

We have posted about running test scripts directly from Jenkins by introducing use of  android-maven-plugin here. Now we must be able to run test scripts on a VM or Cloud VM using Jenkins on Emulators. But sometimes we need to run scripts on a real device connected to PC , that seems not to be feasible with Cloud VMs or with a device connected to a  remote machine. This can be possible by using some stuffs like USB Redirector. A number of such tools available over internet.

Usb Redirector: http://www.incentivespro.com/usb-redirector.html

This tool must be installed with both machines . The machine to which device is connected will share the device and the other one will connect to it using the host computer’s IP address .

This way we can also make this thing feasible with Cloud VMs also.