macOS Sierra version 10.12(16A323)
Appium v1.6.3
Xcode Version 8.0
I capture elements with appium inspector and use the displayed name for the object.
But when I try to run it says “No such element”.
When I search for the element in the Xcode, it does not give any results.
The reason was appium has not get underscores.
And also some elements in that shows enable = false can be tapped, while some cannot be tapped.
Why appium does not show correct name and correct functionalities in the inspector?
I have added in Xcode
abc.isAccessibilityElement = YES;
abc.accessibilityIdentifier = @“button”;
abc.accessibilityLabel = @“button”;
Are there any other requirements to be added to the code?