Skip to content

filipehba/RF-Appium-Parallel-Sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Appium Test in Robot Framework via Pabot

Pre-Requisites

  • Python
  • Android sdk
  • Robot Framework
  • Appium

Installation

  • 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

Run Appium server

$ appium -p 4723 

Install APK

Install APK for calculator sample to your devices. Located here

Devices Set

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

How To Run

$ ./run-test.sh [tag] [threads]

./run-test.sh calculator 2

Notes

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.

Demo

Parallel RF Appium Testsasset

About

Parallel Robot Framework Appium Test Sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • RobotFramework 72.5%
  • Shell 27.5%