Last updated: Oct 05, 2018 12:55
You can observe error like this one
when you are running on iOS devices with different OS versions, because of the fact that UIAutomation is used for iOS 9.3 and below, and XCUITest for iOS 9.3 and up
So as soon as you see it, you can go to the part of the code where you are trying to find that element, and check the syntax you are using to find it.
It probably will looks like:
This is the code you need to edit following the new syntax. The new line should looks like that:
If you have any other issues/questions related to similar errors, you can visit this article