Unable to search text on web Ui

My requirement is I want to check if any text exists on web after search then i need to proceed further.
As of now, i am using OCR Text Exists, but it’s results are uncertain.
Even if some text exists on web then also it is showing false.
Is there any other way to do the same thing?

Thanks in advance.

Hi @Riya_Bansal

Is that text identified as a separate element then use element exist…or use get visible text…so only when visible it will get else it will fail…add a try catch around it and when it fails that means text did not appear…also get text alao can be used in the same way

Cheers

1 Like

@Riya_Bansal Hi Riya
OCR is mostly for image based extraction where the get text and get full text does not work.
Please try to use combination of element exist and get text activity.
Let me know if that does not work or if you can provide more info for your scenario

1 Like

Hi @Anil_G:
I cannot find any activity viz element exist and get visible text
I am using 2022.10.3 version.

Hi @Riya_Bansal

In your activities panel…click on filter icon on top…select show classic then you should be able to see

Alternate activities for these in latest version are check app state and get text…change the scapping method…to make it work as get visible text

Cheers

1 Like

It worked! Thank-you guys

1 Like

Hi @Riya_Bansal

Please mark the solution so that other cna get help as well

Happy automation

Cheers

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