Hi, I’m reading the contact number of what’s app chat through web.whatsapp.com.
However here stuck in one scenario for the selector.
Whenever there are some messages/chats in the whats app, I have to use this selector :
<html app='chrome.exe' title='* WhatsApp*' />
<webctrl aaname='+*' parentid='main' tag='SPAN' />
Here, there is space between * and Whets app in the title tag. I tried to remove it, but still selector requires the space in order to read it using get text activity.
But when there are no messages left(after reading last what app message)
I have to use this selector to read the last what’s app message.
<html app='chrome.exe' title='*WhatsApp' />
<webctrl aaname='+*' parentid='main' tag='SPAN' />
Here there is no space betwen * and Whats app.
Here, I have to give OR condition for title through the dynamic variable.
How can I pass the two variables in the selector, which would use either of any title.
Assign1 - Title1 = * WhatsApp
Assign2 - Title2 = *WhatsApp
Any other solution or work around is welcome !
@Palaniyappan @Sergey_Petrenko @lakshman
Thanks,
Shantanu