How to do text exist in Putty terminal?

The scenario:

If this text image appears then proceed another flow if not, then do else.

But right now, I try another activity like text exist in terminal activity, get full text and element exist but it still proceeds true should be the result is false so it’s not accurate.

Kindly provide your support to solve it.

Thanks.

@Nur.ain

You might have to use CV activities, because Get Text and Get Full Text requires selectors to identify in Putty window, but Putty you can’t find selector as every thing is in image

Hope this may help you

Thanks,
Srini

Hi @Nur.ain ,

Could you maybe Debug and check what are the values retrieved from the Get Text activity and what values are present on the screen. Also, I believe it shouldn’t be Full Text.

We used to clear the screen and then perform the operation, so that it will contain the latest outputs.

1 Like

@Nur.ain

First check what values are you getting from the get text .if it is having required data then cna use contains method to check

And later if that is not having the require data then try using get ocr text which or get visible text which might help in getting the text from the page you need…get ocr text might be a better one though

Hope this helps

Cheers

Hi @Nur.ain

Capture a screenshot of the region where the text image is expected to appear using the “Take Screenshot” activity. Set the output variable to store the captured image or Use the OCR engine to extract text from the captured image. You can utilize the “OCR Text” or “Screen Scraping” activity provided by UiPath. Configure the activity to use the installed OCR engine and set the input parameter as the captured image.

Thanks!!