appium.old/sample-code
Isaac A. Murchie e0c4106d22
Lint and update JS sample code (#11927)
* Lint and update JS wd sample code

* Lint and update JS webdriverio sample code

* Add JS sample code to greenkeeper
2019-01-03 09:40:53 -05:00
..
apps Bring Sample Code into master (#10880) 2018-06-15 08:23:42 -04:00
csharp Add NUnit Test Adapter 2018-10-29 17:26:27 +00:00
java Fix platformVersion in Java sample code (#11356) 2018-09-12 11:05:39 -04:00
javascript-wd Lint and update JS sample code (#11927) 2019-01-03 09:40:53 -05:00
javascript-webdriverio Lint and update JS sample code (#11927) 2019-01-03 09:40:53 -05:00
php Bring Sample Code into master (#10880) 2018-06-15 08:23:42 -04:00
python Add python sample code (#11208) 2018-08-22 11:48:58 -07:00
ruby Upgrade rubyzip (#11331) 2018-09-07 08:57:20 -07:00
README.md Bring Sample Code into master (#10880) 2018-06-15 08:23:42 -04:00

README.md

Sample Code

Sample Appium code written in multiple client languages

Running sample code

  • Follow the Appium setup guide to install Appium locally.
  • Choose the client library that you wish to run and then follow the guide in sample-code/<client-language>/README.md (e.g.: sample-code/java/README.md)

Environment variables

  • DEV: If set to true, runs apps that are downloaded from GitHub, otherwise runs apps that are in local directory
  • IOS_DEVICE_NAME: Sets the deviceName capability for iOS. Otherwise uses some default
  • IOS_PLATFORM_VERSION: Sets the platformVersion capability for iOS. Otherwise uses some default
  • ANDROID_DEVICE_NAME: Sets the deviceName capability for Android. Otherwise uses some default
  • ANDROID_PLATFORM_VERSION: Sets the platformVersion capability for Android. Otherwise uses some default
  • SAUCE_LABS: If set to true, runs tests on Sauce Labs. Requires being setup on SauceLabs to run these tests.