Reading the What App chat contact details but having dynamic title

Instead of passing two variables to a selector you can pass only one variable but two different values based on a condition
Like use a If condition and inside the THEN and ELSE block pass corresponding value to that one single variable and use the same variable in selectors of both the scenarios

So variable is one but value is decided based on a condition and pass with value accordingly

And I just wonder why it require a space because * wildcard will consider all character that includes a blank space as well

Try upgrading UIAUTOMATION package in your studio and give a try without any space between wildcard and the word you have in title attribute

cheers @Shantanu_More1

2 Likes