Allows you to run automation test on multiple android devices (Real/Emulator) simultaneously. Just plug your android devices to machine and run tests.
- Java
- Nodejs (v0.10.33)
- Android SDK
- Install java and set java path in system variable.
- Set ADT bundle path in system variable.
- Install Nodejs and set path in system variable.
- Open command propmt/Terminal.
- Hit command
npm install -g appium(It will take 10-15 minutes to complete) - Verify appium server by command
appium - If you got output as following then appium server started correctly
info: Welcome to Appium v1.3.5 (REV a124a15677e26b33db16e81c4b3b34d9c6b8cac9)info: Appium REST http interface listener started on 0.0.0.0:4723info: Console LogLevel: debug- For Mac download Mac-Command-Setup.zip unzip it, open terminal go to download location and run command
sh Mac-Command-Setup.shthis will set adb and appium execuatbles into /usr/bin.
- Download the gmail_example.jar
- Connect one or more android devices.
- Run jar
java -jar gmail_example.jar
- Download the calc_example.jar
- Download the AndroidCalculator.apk
- Connect one or more android devices.
- Run jar
java -jar calc_example.jar path/to/AndroidCalculator.apk
