Hello! I find the element and its relative element on the web page.
If relative is not, then an error message
find element, find relative element
BUT I have:
Find Relative Element ‘DIV’: Cannot find the UI element corresponding to this selector:
in catch block, change the exception to System.Exception.
Something must be wrong in your project, i never seen a try catch not working before… can you share so we can help you find it?
Can you try the debug mode for you to see if you really get some error @RPA3
Well it seems ok, if this is really happening, maybe open a ticket with support, but in the meantime, remove the try catch and use ContinueOnError=True on the find relative element activity, the use an IF to see if it find or not something…
IF NOT myRelativeElement IS Nothing
I put the message box, in both cases it goes
maybe in your application this element is always present but not always visible, so maybe try using WaitVisible= true
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.