# UI testing with Appium

### To Start Appium Server
1) cd into appium folder

2) `node .`

### To Run
1) `cd android`

2) `bundle exec rspec`

### To launch into console
1) `cd android`

2) `arc`

### To Start An Emulator
1) execute `emulator @EMULATOR_NAME`

### To Add A New Emulator
`android avd`

### To Point the appium config file to the emulator
Add this line to appium.txt under the [CAPS] section:
`avd = "training"`

### To reset
`cd appium; ./reset.sh`

#### Reset By Platform
`./reset.sh --ios`

`./reset.sh --android`

#### Info:
http://appium.io/slate/en/tutorial/android.html?ruby#install-ruby

### Helpful Docs
https://github.com/appium/ruby_lib/blob/master/docs/android_docs.md

http://appium.io/slate/en/v1.0.0/?ruby#appium-client-libraries