appium

Execute test

First of all, we need to start Android emulator.

And in the "Terminal", we need to strat appium first, then go to the Android Cucumber folder, and run cucumber to execute "mms.feature".

And we will get the tests all "Pass":

Alt text

Now the "android_cucumber" folder should contain following folders and files:

Alt text

The last one is the screenshot when the message is discarded.

Alt text

You can refer to the Android Cucumber script from here.

This is all for Android.

Now, it's your turn to use them in your project, with BDD, Page Object and other techniques.

For BDD and Page Object with Cucumber, you can refer to another handbook of mine: BDD with PageObject.

Have fun!