Examples - Karate Mobile (Appium)
Please consider Mobile support as experimental. But we are very close and there are some teams that use Karate for simple use-cases. Please contribute code if you can.
Overview
This project is to replicate issues with the Karate UI framework for mobile app testing using appium.
Running
Before running:
- change
karate.versioninpom.xml- change
platformVersion,avdinkarate-config.jsaccording to your local androidavdsetup and add/remove the desiredCapabilities according to your requirement.- start appium server manually when
android.featurehasconfigure driverwithstart: false- change
configure drivertostart: trueif you want karate to start appium driver automatically (this is experimental and needs appium pre-installed vianpm)
The android.feature is a simple Karate UI test, and executing AndroidRunner as a JUnit test will run it.
Refer Documentation for currently supported methods