Try to use Indicate anchor while indicate element in the browser within the Ui Explorer in Edit selector.
Make it as a dynamic selector.
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
While indicating the selector
Click on Edit selector and select the anchor by using Indicate Anchor Within the Ui Explorer itself its need not to use anchor base activty separatly.
fine
press esc button three to four times and then try dragging activities from activity panel and insert them within CATCH Block
Cheers @
Hi Palaniyappan Sir,
The next hearing date has returned as decision date Sir, it didn’t return as nil.
Fine
May I know What was mention in the assign activity inside the CATCH block
Cheers @SOURAV_KUMAR_DAS
After this try catch have we used WRITE RANGE ACTIVITY with the datatable passed as input
Only then the updated datatable will be written to a excel file
Cheers @SOURAV_KUMAR_DAS
Fine
Have we used any assign activity in try block with Get Text activity output variable passed as input to that assign activity
Cheers @SOURAV_KUMAR_DAS
Can I have a view in that with a screenshot if possible or kindly share the xaml
Cheers @SOURAV_KUMAR_DAS