Katalon studio 9.5.0, How to get a Text value from class “android.widget.TextView” in Android Mobile Object


Hello Katalon Community, its my first posting :grin:

How to get a Text value from class “android.widget.TextView” in Android Mobile Object
Katalon Studio 9.5.0
Mobile Object Spy

Thank u :grin:

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

The particular elements highlighted don’t appear to have text - I assume these are the ‘-’ or ‘+’ buttons? You have other elements that you could use ie the TextView class with text after it. Keep the same format if locator as the one in the pic, but just use sensible text rather than the icon currently used

1 Like

Hi @kellybookingtogo,

Welcome to our community. Can you please try this guide: [Mobile] Get Text | Katalon Docs? Hope this can help

thank you for the response. already solved, using different Locator Strategy to XPATH.

1 Like

thank you for the response. already solved, using different Locator Strategy to XPATH.

1 Like