Elements that appium can see


I’m struggling to do some tests because there are a lot of elements that cannot be found by appium, mainly for ios.

And I’m migrating code from calabash and I see things like

 query "view:'UIImageView' {accessibilityLabel CONTAINS 'icn_chat_sent'}"

And this image does not appear anywhere on appium inspector (or querying it via arc).

Any thought on this?

@Telmo_Cardoso did you manage to find a solution to click on UIAImageView

2014 :slight_smile: wow. I cannot remember, but probably tried some workaround with other elements.

If you can talk with development team you can ask them to make elements visible by settings the accessibility labels. Ask them to check https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html#//apple_ref/doc/uid/TP40008785-CH102-SW9

1 Like

Thanks for the quick reply @Telmo_Cardoso I used X, Y coordinates to perform the tap operation.