Robot Framework + Appium and content-desc


#1

I have an android application that I’m testing with RFW+AppiumLibrary.
I’ve checked possible elements with UIAutomatorViewer and noticed that some of the buttons I need to press don’t have “text” or “resource-id”.

I’m able to click needed buttons with “Click A Point” keyword, but I’m wondering would it be possible to use “content-desc”?
If possible would someone be kind and give me some guidance with it?


#2

You can try something like this:
help = (‘xpath’, ‘//android.view.View[@content-desc=“Need Help?”]’)