- Python
- Android sdk
- Robot Framework
- Appium
- Python
Follow the tutorial on how to install Python here
- Appium
$ npm install -g appium
- Robotframework, Appium Library, and Pabot
$ pip install robotframework
$ pip install robotframework-appiumlibrary
$ pip install robotframework-pabot
$ appium -p 4723
Install APK for calculator sample to your devices. Located here
Store device info such as UDID, Name, Appium Port, and System Port as .dat file
E.g.
[Device1]
tags=device1
udid=9RGNU20920100424
appium_port=4724
system_port=8201
[Device2]
tags=device2
udid=4aba4aacac3f71ce
appium_port=4723
system_port=8202
$ ./run-test.sh [tag] [threads]
./run-test.sh calculator 2
You definitely can improve this sample to automatically install APK and start Appium server instead of having to do it manually. This sample is provided as-is at bare minimum just to give you idea how to do parallel Appium test on Robot Framework.