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.version
inpom.xml
- change
platformVersion
,avd
inkarate-config.js
according to your local androidavd
setup and add/remove the desiredCapabilities according to your requirement.- start appium server manually when
android.feature
hasconfigure driver
withstart: false
- change
configure driver
tostart: true
if 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