0

I have written some tests with Android test frame work for our android client and also some for iPhone with its framework. I would like to run these tests on multiple devices and without USB connection...

Both iPhone's and Android's test frameworks requires that device will be connected to machine with the SDK with USB cable, right?

Is there a way to use instrumentation without the constraint of USB cable? If there is such a way, can it be used on multiple device simultaneously?

Guy
  • 377
  • 1
  • 4
  • 10

2 Answers2

0

For Android, nothing more simple, build the .apk. The, email it to the phones and install it ;-)

You just have to disable unknown sources (Settings > Applications > Unknown sources)

clement
  • 4,204
  • 10
  • 65
  • 133
0

For the iOS part you could use an Ad Hoc Distribution Profile (you must have an Apple developer account to create it). You have to insert the UDID of each device before build the app.
Once the app archive is created you can use the iOS Beta Builder that allow you to put your app in your server so that the permitted device can download/install it directly.

Introducing iOS Beta Builder
iOS Beta Builder GitHub page
iOS Beta Builder Mac AppStore

Mat
  • 7,613
  • 4
  • 40
  • 56
  • my problem is not distribution, but automation. how can I run automation on a remote device? – Guy Dec 03 '12 at 13:51
  • AFAIK now you can't. You were able to build your app through wi-fi but this option was removed from Xcode. Probably a new version will have this option again. See [this](http://stackoverflow.com/a/11094904/251513). – Mat Dec 03 '12 at 14:24