How to use dynamic selector in Mobile Automation?

I am trying to automate Gmail mobile application by opening the “Unread Emails”. However, I’m facing a problem with the use of dynamic selectors. Capture

I have tried using the asterisk as text = “Unread *”, but no match is found. Also I have tried using the asterisk in a variable: variablename = “Unread *” and using the variablename in the selector as text=‘{{variablename}}’ but still not working.

So how can I use wildcards in mobile automation selectors?

1 Like

Should I be using xpath? If yes how so?

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.