Here is the full error:
The target Element was not specified for this activity. You should set its Target property or use this activity inside of a scope activity (Attach Browser, Open Browser, Open Application, Attach Window, Get Active Window, Element Scope activities).
I have narrowed it down to the Find Children activity. The automation works fine for hundreds of records and then out of nowhere we get the above error. The Target property is, of course, set for the activity, and it is inside a Use Browser (previous activities within the Use Browser work fine).
According to a screenshot taken at the moment the error occurred, the automation was on the correct page etc and everything was fine. The error makes no sense because the Target IS set. I can click Edit Target for the activity and it validates fine.
Could the issue be that the Find Children activity is a classic activity, but it’s inside a modern Use App/Browser? Again, the automation works fine 99% of the time.
1 post - 1 participant