Could you provide a sample project that throws this error together with your version of Studio and all activity packages (screenshot from the Package Manager will be best)?
Hi All, could you please share any work-around for this error âValue does not fall within expected range.â
I am facing this error for both IE-11 as well as Chrome browser/s.
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.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I had the same issue with the attach browser activity (using IE) after a lot of mucking around, I realised that I had to change the selector
from: wnd app=âiexplore.exeâ cls=âIEFrameâ title=âSHA1 online - Internet Explorerâ /
to: html title=âSHA1 onlineâ /
that is, instead of selecting the whole IE window as an element, I selected just the tab area.
It looks like Browser variable loses itâs Element property validness. I usually see this error when I call 2nd depth workflow, such as WF1 calls WF2 calls WF3 by passing a browser argument consequently for each workflow. In that case Element property of browser variable generates âValue doesnât fall within expected Rangeâ error.
Package versions are as following:
UiPath v. 18.1.4
UiPath.Core.Activities v. 18.1.6852.16425
Can anyone help me out in this ?? while click activity is executing.
Click activity is executing individually, but while running the whole process/flow it throws an error
In my case, I got this error message when the attach window activity found all windows that met the properties in the selector, which turned out to be more than one, and attempted to pass both window elements to the maximize window activity. I had to make sure either that only one window with the given properties was up on the screen or make the selector for the attach window more granular so it would only pick up one window.
Hi,
Experienced the error before, I tried âIndicate Elementâ from Selector Editor after I indicate it the first time. Also, putting a wildcard on the the html title. I am not sure whether this is the best practice, but it works find for me.