using UI Path studio created a automation script but i found even after using App / browser activity ,Studio unable to click on follow button in child browser ,how to resolve it ,please see the youtube video what am trying to automate
Here is the UI path project folder for reference
Selector was able to identify uniquely the web elements but while execution it errors ,try with input menthol as stimulate ,hardware,same as App/browser nothing was able to click on follow button
Here is error received
24.10.0-beta.17118+Branch.release-v24.10.0.Sha.bb90ccd640bbfb859b2267a06ce1d116d788e59a.bb90ccd640bbfb859b2267a06ce1d116d788e59a
Source: Keyboard Shortcuts 'Follow'
Message: Could not find the user-interface (UI) element for this action.
Possible solutions:
• Ensure application is opened and the UI element is visible on the screen at execution time
• Edit the Target of the UI activity and use Validation to debug the issue.
• If needed, re-indicate the element as its properties might have changed
• Use "Check state" activity to check the application state before executing the action
• Increase the "Delay before" value to allow time to the application to render entirely and become responsive
Exception Type: UiPath.UIAutomationNext.Exceptions.NodeNotFoundException
UiPath.UIAutomationNext.Exceptions.NodeNotFoundException: Could not find the user-interface (UI) element for this action.
Possible solutions:
• Ensure application is opened and the UI element is visible on the screen at execution time
• Edit the Target of the UI activity and use Validation to debug the issue.
• If needed, re-indicate the element as its properties might have changed
• Use "Check state" activity to check the application state before executing the action
• Increase the "Delay before" value to allow time to the application to render entirely and become responsive at UiPath.UIAutomationNext.Activities.TargetCommonLogic.ProcessNodeNotFoundAsync(ISearchResult searchResult, IRuntimeContext runtimeContext, ITargetAnchorable target, CancellationToken token)
at UiPath.UIAutomationNext.Activities.TargetCommonLogic.GetSearchResultAsync(IRuntimeContext runtimeContext, ITargetAnchorable target, CancellationToken token)
at UiPath.UIAutomationNext.Activities.NKeyboardShortcuts.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.NKeyboardShortcuts.ExecuteAsync(IActivityContextWrapper context, CancellationToken cancellationToken)
at UiPath.UIAutomationNext.Activities.TargetBase.ExecuteActivityAsync(IActivityContextWrapper contextWrapper, CancellationToken cancellationToken)
at UiPath.UIAutomationNext.Activities.TargetBase.ExecuteActivityAsync(IActivityContextWrapper contextWrapper, CancellationToken cancellationToken)
at UiPath.UIAutomationNext.Activities.TargetBase.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.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
--- End of stack trace from previous location ---
at UiPath.UIAutomationNext.Activities.NApplicationCard.OnFault(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Carolyn
The reason is that the ID selector is changing the ID very often on that page.
So you need to use *
whereever possible in the ID selectors.
Instead of your:
<webctrl parentid='likebutton82118' tag='A' />
you just use
<webctrl parentid='likebutton*' tag='A' />
.
Also it is no recommended to use Hardware Events. Instead switch to Simulate so it's much faster. Some Browsers now block popups. If so allow the popups and you can use Simulate.