oneclickappium
v1.0.2
Published
Single Click Appium mobile Automation running utility, works on iPhone, Android, iOS Simulator
Downloads
6
Maintainers
Readme
oneclickappium
Appium is awesome @ https://www.npmjs.com/package/appium and so it needs few buddy companion's and this package
oneclickappium
is one of them.
About
This package solves the painpoint of running appium in parallel for multiple devices. You can just connect a device (ios or Android) by USB or boot an iOS Simulator, or else do both (attachh physical device(s) and boot iOS simulator(s).
Getting Started
Installation
npm install oneclickappium
Dependencies
xcrun simctl list
,adb
,system_profiler SPUSBDataType
You can test it first by connecting a device or booting a simulator and run npm test oneclickappium
Code snippet
_todo_
What this does, stepwise
- check's : No existing appium server instance are running, if that is the case, we will kill them all to make things clear like a blue sky
- Then we will look for all connected devices and booted iOS SIMULATORS so lets start counting ...
- Then Start appium server(s) per each device in background
- Execute test's on each device (this is a `mvn` command you would like to run)
- Once Run is DONE, kill appium server and optionally all `java` processe's to bring back the sky to blue