Forum Discussion

gkotkin's avatar
11 years ago
Solved

iOS: can't find navigation bar buttons by accessibilityLabel

In my iOS app I'm setting a unique AccessibilityLabel to the navigation bar button (which is UIBarButtonItem). TestComplete fails to see this attribute: in the UI object tree it finds my but...
  • UnveN's avatar
    UnveN
    11 years ago

    Hi!

     

    Have you tried a special support for the UINavigationBar control?

     

    iOS NavigationBar Support

     

    This offers some properties and methods such as TouchItem or wItemText where you can use either index or caption of the button to interact with it.

     

    As for accessibilityLabel property - its looks like a bug and you should definetely report it.

     

    Best regards,

    UnveN