How to find the text in the browser?

Hi All,

I’m trying to make bot to open movie browser and try to find cinemas hall in the browser by keyboard activity “CTR+F” and find it is opened or not? i’m unable to read the text “0/0 or 1/1” on find search bar,. can anyone hele me on this?

@Ganesh_N1

Instead of doing ctrl +f…you can use check appstate activity and pass the exact theatre name to the selector so that if found it returns true else false…or it has else and then condition…on then side it comes when found or goes to else side

Selectors looks like this

<webctrl tag='DIV' innertext='Kumaraa*' />

with variable <webctrl tag='DIV' innertext='{{VariablewithName}}*' />

To find the selector use ui explorer

cheers

1 Like

@Anil_G i got the solution i used “Get Text” activity and saved under the variable"Str1) and then check if condition as str1.Contains(Str)

it is working fine now

Thanks for your guidance

cheers

1 Like

@Ganesh_N1

Glad it helped

Please close the topic if resolved

Cheers

1 Like

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