I am trying to access UITabBarItem using accessibilityIdentifier in UITestCases but its not working in iOS 11 and iOS 12. On iOS 13 it's working. I have checked this with Appium and Accessibility Inspector. In both its not showing accessibilityIdentifier applied for UITabBarItem.
tabBarItem1.accessibilityIdentifier = "tabBarItem1"
I have tried calling this in viewDidLoad, viewWillAppear, viewDidAppear. but same results for me.
has anyone faced this issue ?
tabBarItem1.accessibilityIdentifier = "tabBarItem1"
I have tried calling this in viewDidLoad, viewWillAppear, viewDidAppear. but same results for me.
has anyone faced this issue ?