We are working on automation of a iOS application and are facing some major issues. Below is the summary of the environment setup and the issues faced with the solutions tried so far.
Environment setup done:
• As per client requirement, we had to work with iOS 10 and XCode 8. For fulfilling the requirement we had to upgrade our current Mac OS from 10.11 to 10.12.2.
• To work with iOS 10, we had to upgrade Appium from 1.5.3 to the latest version, 1.6.3.
Problems Faced:
• In iOS 10, things have been moved from the original UIAutomation to XCUITest.
• The current application seems to be built on the old UIAutomation, the UI elements aren’t getting recognized by the new accessibility inspector.
Solutions Tried:
• We’ve tried performing click operations using x,y coordinates, but with no luck.
• We also tried writing relative xpaths, by getting the entire application hierarchy, but we’re still facing issues.
Appreciate a response from iOS automation experts, if any such challenges were faced and solutions that worked.