I cannot get the value with Mobile.getAttribute or Mobile.getText

I have an issue with the Mobile. I want to get the content of the content-desc object (because text hasn’t the value in it)

Here is the Object Properties

Add images

When i use Mobile.getAttribute or Mobile.getTex of that object, it returns null value

My code

The results


Can anyone help me on that?

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!

Hi @quy.nguyen1,

Welcome to our community. Please read the code example here: [Mobile] Get Text | Katalon Docs and get your locator correctly so that it can get the text. If not working, please help sharing the locator and app. Thank you

Our Ask Katalon Anything event is happening now: Ask Katalon Anything June 2024 🚀. You can also raise your issue over there. Looking forward to your participation