Skip to content

support for iOS and Android using appium #743

Closed
@babusekaran

Description

@babusekaran

⚠️ (As on Apr 2023) 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.

Description:
iOS and Android UI automation capability in karate using appium server.

basic driver support for iOS and android automation extending karate's web driver implementation to interact with appium server.

proposing driver types:

      for Android: { type: 'android' }
      for iOS: { type: 'iOS' }

locator support: XPath, name, accessibility id and id by the prefix.
adding platform-specific locator strategies like class chain, predicate string for iOS and uiautomator for android can be added shortly once we come up with a prefix, and also if there are any others supported by appium.

dependencies needed for this integration to work:

  • appium (install using npm)
    npm install -g appium
  • xcode >7 for iOS automation
  • android studio (android SDK with an AVD is also sufficient)

sample work on Android:
KarateAppiumv4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions