bbc/hive-appium

Name: hive-appium

Owner: BBC

Description: Appium helper scripts for the hive

Created: 2016-04-20 09:51:18.0

Updated: 2016-05-13 14:31:42.0

Pushed: 2016-06-02 13:13:32.0

Homepage: null

Size: 12

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

hive-appium

Appium helper scripts for the hive

Pre-requisite

Symlink executables for Android and iOS to default path

Set default appium

ln -s /path/to/node_modules/.bin/appium /usr/bin/appium-android
ln -s /path/to/node_modules/appium/lib/server/main.js /usr/bin/appium-ios

Set appium path for specific appium version (ex: appium version 1.2.3)

ln -s /path/to/node_modules/.bin/appium /usr/bin/appium-android@1.2.3
ln -s /path/to/node_modules/appium/lib/server/main.js /usr/bin/appium-ios@1.2.3

Execution command:

RUBYLIB=lib ruby ./bin/hive-appium --help
RUBYLIB=lib ruby ./bin/hive-appium --android --udid 'xxxx' -p 1234 --bp 1236 --cp 1238 --params '--orientation LANDSCAPE'

Note:

  1. There is option for specifying appium executable location in –help option but it is not used
  2. For IOS, we need to install ios_webkit_debug_proxy. Refer https://github.com/google/ios-webkit-debug-proxy for installation

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.