Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.01 KB

File metadata and controls

27 lines (18 loc) · 1.01 KB

Selenide examples: Appium

Mobile automation

How to test mobile application with Selenide and Appium

How to run the example

  • Run the emulator:

    open Android Studio -> "Android Virtual Device Manager" -> Run

    Alternatively, you can start emulator from command line:

    emulator -avd Pixel_4_API_28_1

  • And run the test:

    ./gradlew test

Thanks to Maryna Kolesnik for CalculatorTest example! Her original sample can be found here

NB! This project uses a simple approach for tests: it just calls Selenide standard $ method to find elements in mobile app. I like it. It's just good enough.

But it's also possible to use Android- and IOS- specific annotations like @AndroidFindBy. Library selenide-appium has Selenide+Appium specific page factory for supporting those annotations and many other features.