Greetings.
I am encountering sort of similar issue due to dynamic Element IDs generated by the Web Application.
I was able to successfully record web navigation in the browser. While running the flow, I got the below error - specifically not able to identify the field on the screen. In one of the cases it didn't even capture the field name. Please find below the error. Appreciate any help or guidance, if I am not doing it correctly.
Thank you,
Vivek
Error details:
Correlation Id: 90206d2b-bf7d-42fa-9df5-8df3a573542f
Element not found: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Element with selector 'input[Id="lovequipfield-1547-inputEl"]' not found. ---> Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Exceptions.ElementNotFoundException: Element not found
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationResultExtensions.UnWrap[T](WebExecutionResult`1 result, String cssSelector, String option)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.LocalWebAutomationRuntime.ClickLinkOnWebPage(WebBrowserInfo webBrowserInfo, String cssSelectorOfElementToClick, String dialogButtonToPress, Boolean waitForPageToLoad, TimeSpan waitForPageToLoadTimeout, Int32 courseOfActionIfDialogAppears, Boolean physicalMouseClick, ClickType clickType, RectangleEdgePoint mousePositionRelativeToElement, Int32 offsetX, Int32 offsetY)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.WebAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
at generatedProxy_3.ClickLinkOnWebPage(WebBrowserInfo , String , String , Boolean , TimeSpan , Int32 , Boolean , ClickType , RectangleEdgePoint , Int32 , Int32 )
--- End of remote exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.GetRemoteResultOrThrow(RemoteMethodCallResponse response, Type expectedResultType)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.Invoke(MethodInfo targetMethod, Object[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
at generatedProxy_1.ClickLinkOnWebPage(WebBrowserInfo , String , String , Boolean , TimeSpan , Int32 , Boolean , ClickType , RectangleEdgePoint , Int32 , Int32 )
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass7_0.<ClickLinkOnWebPage>b__0(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass34_0.<ExecuteSafe>b__0(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExecuteSafe[T](Func`2 action, TimeSpan timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExecuteSafe(Action`1 action, TimeSpan timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ClickLinkOnWebPage(WebBrowserInfo webBrowserInfo, String cssSelectorOfElementToClick, String dialogButtonToPress, Boolean waitForPageToLoad, TimeSpan waitForPageToLoadTimeout, Int32 courseOfActionIfDialogAppears, Boolean physicalMouseClick, ClickType clickType, RectangleEdgePoint mousePositionRelativeToElement, Int32 offsetX, Int32 offsetY)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ClickBase.<Execute>b__37_0(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.<>c__DisplayClass4_0.<PerformWebAutomationWithLogging>b__0(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.PerformWebAutomationWithLogging[T](Func`2 action, WebAutomationRuntimeLogData requestData, Func`3 resultData)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ClickBase.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ClickBase.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
Per my observation of the source generated, the input field IDs are generated automatically. When I launched / navigated to the page, the Element ID is "input[Id="lovequipfield-1538-inputEl"]'". Curious how we can deal with these kind of dynamic field ids.