I’m trying to automate a web application (NetIQ IAM) using UIPath. Everything works fine until the point where I cannot make the robot click an items on the web page, it will always abort saying “Value does not fall into expected range”. This happens both when indicating the element via a selector as well as when using the “element” attribute
The HTML which is generated is stable, I have a unique element ID which I can use, and my selectors are confirmed by UIPath as ok. The one thing which puzzles me: When I open the browser by hand, execute the necessary steps to get to my page, do an “Attach browser” and then let the bot do the click, everything works fine. Unfortunately, I need the entire process to be covered by the bot.
I’ve done all the things which are recommended in the various forum entries, such as selecting on the HTML page (not the browser window), introducing a delay before the click in case the page may still be generated…
Error message is:
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.ArgumentException: Value does not fall within the expected range.
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I really don’t know what else to try. Any help is greatly appreciated!