UiPath Studio is able to detect UI element, but stops running and giving an error while attempting to perform a click action on the UI element. Here is the [screenshot] of UI element trying to perform action (https://mrkr.io/s/64abb990f515fa15e7bed668/0)
Could you please assist me in resolving this error? Thank you!
In this UI example, I would like to configure UiPath to click on the ‘Write review’ button repeatedly until there are no more cards remaining. Could you please provide guidance on how to achieve this?
Use check app state activity to check whether there is “Write review” present or not.
In the anchor of check app state activity, use strict selector for better selection.
Please share the anchor selector.
@supriya117 Check app status has worked. @lrtetala I have tried Do while but stuck at condition text box because it was not detecting the UI element
@supriya117@lrtetala what is the best way to detect this UI element, I want to click on 5th star to give 5 star rating, currently getting below error "2023-07-11 9:38:34.186 GMT+5:30: Error: UiPath.UIAutomationNext.Exceptions.NodeAmbiguousException: Multiple similar matches found.
Could not uniquely identify the user-interface element for this action.
Edit the element, run Validation, and add anchors in order to ensure the element is uniquely identified.
at UiPath.UIAutomationNext.Activities.TargetCommonLogic.GetSearchResultAsync(IRuntimeContext runtimeContext, ITargetAnchorable target, CancellationToken token)
at UiPath.UIAutomationNext.Activities.NClick.UiPath.UIAutomationNext.Activities.IVerifyExecutionActivity.ExecuteAsync(IRuntimeContext context, IActivityData data, CancellationToken cancellationToken)
at UiPath.UIAutomationNext.Activities.Services.VerifyExecutionService.ExecuteWithVerifyAsync[T](IVerifyExecutionActivity activity, IVerifyExecutionRuntimeContext verifyContext, IRuntimeContext context, T data, CancellationToken token)
at UiPath.UIAutomationNext.Activities.NClick.ExecuteAsync(IActivityContextWrapper context, CancellationToken cancellationToken)
at UiPath.UIAutomationNext.Activities.TargetBase.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.ContinuableAsyncCodeActivity.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)"