@Mani_maran_chandraba
Here’s what I did.
If you use the UICatalog.app https://saucelabs.com/resources/articles/appium-bootcamp-chapter-2
You can download the iOS source code, build this yourself and do some learning
I did this and I stubbed out the following:
An example of the appium inspector showing one button with a label and one without.
An example of reveal program comparing the same buttons.
An example of what the Storyboard in the source looks like comparing the same buttons
What I noticed:
- Reveal and Appium seem to report the same results - that’s good.
- It seems like if your app has a button icon without text and an accessibility label, hint, or identifier is not explicitly set - then the label does not show up upon interrogation. I’ll bet that’s what is happening wth you.
Takeaways:
- I would encourage you to look at the Storyboard.xml that you have and see if that matches up with what I am saying.
- I would encourage your developers to look at [Apple’s Accessibility Guidelines] (https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html) Most likely they need to add an accessibility element either in the storyboard or programmatically.
@CMTaylor. You are correct. While you cannot scroll to the table cells ofscreen, you should be able to click on them. Do you need to scroll to them first? Otherwise I would just directly click. If you need to actually scroll to them first, I would do the TouchAction commands to swipe down page by page and check for your element each time. It’s not ideal, but it works
Hope it’s helpful. Let me know if further questions.
Thanks!