Answer the question
In order to leave comments, you need to log in
How to organize automatic testing of a hybrid mobile application on an emulator?
Given: hybrid mobile application, written in Cordova, built for iOS and Android (v5.1 and higher)
Task: organize automated testing of the application on emulators.
What I tried: Appium and, accordingly, WebdriverAPI, with which I work through wd ( https://github.com/admc/wd)
The
pain is this:
1) in iOS8 and iOS9, buttons for some reason have the visible: false property. Those. they seem to be invisible o_O Despite the fact that they are perfectly drawn in the emulator, they are visible, you can click on them with your hands. The problem is that the WebdriverAPI refuses to click on invisible elements.
2) in Android, the application is drawn on a WebView of fixed sizes, which is unscrollable for Webdriver. Apparently, Cordova itself handles scroll events and scrolls the screen as it should. Yes, she is fine, but WebDriver cannot reach buttons that are not yet visible, because they are far below, outside the screen.
Question: how to treat this pain? Can eat means heavier than Appium?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question