- Install NodeJS latest (LTS preferred)
- Set LT credentails in env variables
LT_USERNAME
andLT_ACCESS_KEY
, as code picks LT creds from variables
(or)
you can set LT USERNAME and KEY in config (wdio.*-browser.conf.js) file at
user: process.env.LT_USERNAME || "YOUR_USERNAME",
key: process.env.LT_ACCESS_KEY || "YOUR_ACCESS_KEY",
- Clone repo with
git clone https://github.com/harsha509/lt-wdio-appium
- perform npm install to install deps
- To run tests in android:
npm run wdio-android
- To run tests in android virtual device:
npm run wdio-android-VD
- To run tests in ios:
npm run wdio-ios
- To run tests in ios virtual device:
npm run wdio-ios-VD