1

I'm newbie in testing so it could be a very simple question, but do somebody know how to test an app automatically between two or more devices?

I have an app with some users doing some transactions between each other. I'd like to test my app automatically with two or more users. have anybody an idea for it?

I'm using Robotium but the real problem is I could not run two different test actions in two differenet devices in the same time or in a defined order. I would like to see an example for it or something, because I've just saw cases when the testers were run the same action on different devices.

kisstajmi
  • 255
  • 2
  • 12

1 Answers1

1

You can use appium to automate native Android apps (iOS too).

It's built on the top of the Selenium WebDriver API, so you should be able to drive multiple devices at once by starting multiple RemoteWebDriver clients.

You would have to start one "appium server" on each device.

On your test you would created multiple RemoteWebDrivers by pointing to these servers

driver1 = new RemoteWebDriver(new URL("http://192.168.1.100:4723/wd/hub")...
driver2 = new RemoteWebDriver(new URL("http://192.168.1.101:4723/wd/hub")...

Some useful links:

E.Z.
  • 6,393
  • 11
  • 42
  • 69