How to find particular element in the browser?

Fine
–you were almost done
–use TRY CATCH activity where in the TRY BLOCK use ANCHOR BASE activity
–where in the left side of anchor base activity use FIND IMAGE activity and choose that “DecisionDate” as a image and in the right side use SCREEN SCRAPPING method like use GET OCR TEXT method or GET TEXT method, and get the output with a variable of type string named str_input
–now use a WRITE LINE activity and mention as str_input.ToString

and if that fails like there is no DecisionDate field in that page this above ANCHOR BASE activity will fail and it goes to CATCH block where we can return value as “Nil” using a assign activity
str_input = “Nil”

Kindly try this and let know for any queries or clarification
Cheers @SOURAV_KUMAR_DAS

2 Likes