Sample showing Applause api usage
- We are going to test wholefoodsmarket app using appium. For this we are going to --
- Enter "coffee" text in SearchBox
- Click Search Button
- Check count of Result Text is greater than zero
- Checkout repository in your directory
- Run Appium server with following
- Once the server is runnning, Goto the root of the () folder, compile and run tests using following command --
mvn clean compile test -Dgroups=reg -Dbrowser=LOCAL_ANDROID_MOBILE -DtakeSnapShots=true -DappActivity=.application.activities.WFMSplashActivity -DappPackage=com.wholefoods.wholefoodsmarket -DsnapshotDirectory=/Users/mphome/devspace/java/appium/applause
- If everything goes we should be able to see test results.
- Exception is shown when the the app closes session.