mirror of
https://github.com/appium/appium.git
synced 2026-01-13 13:50:00 -06:00
* add initial python sample
* add all of ios and android tests
* apply formatter
* add >=0.28 to avoid version error
* tweak versions of default OS
* convert some tests to unittest based ones
* use single quote mainly
* use {} format style for string
* use format syntax
* apply format and tweak assertions
* use is None
* use assert raise
* speficy a number of elements
* tweak exception
* move app path to helper
* tweak assertion conditions
* remove .close since with open() close file automatically
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 directoryIOS_DEVICE_NAME: Sets thedeviceNamecapability for iOS. Otherwise uses some defaultIOS_PLATFORM_VERSION: Sets theplatformVersioncapability for iOS. Otherwise uses some defaultANDROID_DEVICE_NAME: Sets thedeviceNamecapability for Android. Otherwise uses some defaultANDROID_PLATFORM_VERSION: Sets theplatformVersioncapability for Android. Otherwise uses some defaultSAUCE_LABS: If set to true, runs tests on Sauce Labs. Requires being setup on SauceLabs to run these tests.