Getting CV ScreenScope error on Windows Server 2012 , UiPath-Could not find the UI element corresponding to this selector, whereas sam program running on Windows 10, doesnot throw any error

Hello, below is the error message i am getting while automating Cerner Application, which is opened in Windows Server 2012
UiPath Studio is downloaded in Windows Server 2012 and also UiPathRemoteRutime.msi is also installed in that machine.

I am trying to automate a Cerner Application, i.e Cerner PM P4300, I have setup same program both on Windows 10(Local) and also on Windows Server 2012. In Local, the CV ScreenScope doesnot throw any UIElement error and the process works fine, but in Windows Server, the CVScreenScope error occurs, i.e “Could not find the UI element corresponding to this selector”
Also, in both the system, UiPathRemoteRuntime.msi is installed. I have tried to use the same selector which is in my local on Windows Server 2012, still I am facing this issue.

As you can see, in those selectors, the bold part is name of the patient, which changes for every patient record,

ERROR MESSAGE—
23.4.0-beta.12701+Branch.release-v23.4.0.Sha.f28ab212a5325cf466c152fb914c55858f5a423c

Source: CV Screen Scope

Message: Could not find the UI element corresponding to this selector:

The closest matches found are:
[50%]
[50%]
[50%]

Exception Type: UiPath.Core.SelectorNotFoundException

UiPath.Core.SelectorNotFoundException: Could not find the UI element corresponding to this selector:

The closest matches found are:
[50%]
[50%]
[50%] at UiPath.Core.UiElement.GetFindFirstResult(IUiSearchResult searchResult)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector, IPlaceholderResolver placeholderResolver)
at UiPath.Core.Activities.Target.FindByElement(UiElement targetElement, String fromSelector, IPlaceholderResolver placeholderResolver)
at UiPath.Core.Activities.Target.<>c__DisplayClass58_0.b__2()
at UiPath.Core.Activities.Target.<>c__DisplayClass58_0.b__4()
at UiPath.Core.Activities.Target.GetElement(Func1 findMethod, Nullable1 delayBefore, Region clippingRegion, Boolean highlight, Boolean isClippingRegionNormalized)
at UiPath.Core.Activities.Target.GetElement(Func1 findMethod, Nullable1 delayBefore)
at UiPath.Core.Activities.Target.<>c__DisplayClass56_0.b__0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UiPath.Core.Activities.Target.GetElementAsync(TargetFindCriteria criteria, CancellationToken ct, Nullable1 delayBefore)
at UiPath.CV.Services.CVService.GetUiElement(Target target, ActivityContext context, CancellationToken ct)
at UiPath.CV.Activities.CVScope.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at UiPath.Shared.Activities.ContinuableAsyncNativeActivity.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)
— End of stack trace from previous location —
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location —
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location —
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)


Any help would be appreciated. I have been stuck on this particular issue for days now.

@YashBiswakarma

May I know why are you using cv scope?

Are normal activities not working?

And also you need runtime only if you are automating on rdp from local and also its not for cv…but to use normal activities instead of cv on the rdp machine

And did you try reidentify same in windoes server 2012…as they are cv activities the resolution might effect check if its same

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.