Ours is a one man team for test automating a Hybris eCommerce mobileweb site on two real devices like Android-Chrome, and iOS-Safari platforms. Our Apple desktop is set up with nodejs v25.5, XCODE v.26.4, JDK v.21.0.8, Maven v.3.9.8 etc.,connected with real devices using USB cable. While successfully developed some 25 test programs, which were working
finely with the above technical set up and when Appium is at v.2.17.
Caveat:
- eCommerce platform SAP-Hybris builds HTML pages automatically with logic and included stylesheets
- Web site is designed as Responsive type, which supports desktop, notepad, phone with the same HTML
but ever since we upgraded to Appium v3.2, some back ward code breaking changes happened like failing click actions on
web elements on one or both platforms. Some of the click actions are rectified using JavaScriptExecutor method.
Typical behavior at the click actions, even though the selector is correctly matching in DevTools
- WebElement.click() call just passes with no result
- ExpectedConditions.visibilityOfElement issue due to overlays
- ExpectedConditions.elementToBeClickable issue due to opacity,timing issues
- JavaScriptExecutor.executeScript(“arguments[0].click();”, webElement) works some times
The WebElement click() actions are very flaky overall.
We believe both Android-Chrome, and iOS-Safari platforms are diverging in Enforcing strict W3C specification.
What are the means to rectify the click() actions in code:
- one test class after another to execute ‘regression’ testing, which of course are tedious and time-consuming?
- Downgrade Appium from v.3.2 to 2.17 and continue the regression tests
As we are one man team and our project facing an existential threat to move forward, please help.
As we are just one man team, I am happily accept any other mistake I might be doing.
