Hello all,
I have a UI element for a button that looks like this:
> frameset > frame[src="/epitomax/episode/Admission.jsp?episode_id=%EpisodeID%&case_no=100578&episode_type=admission&extra_arg=null"] > html > frameset > frame[src="/epitomax/episode/AllForms.jsp?episode_id=%EpisodeID%&MAX_ROWS_OVERRIDE=FALSE&ALLFORM_DEFAULT_FORM_TYPE_FILTER='PROGRESS NOTE'"] button[Id="btnAll"]
When I test the selector by typing in the variable %EpisodeID% it works and can find the selector. However, during the actual flow I parse the variable out and it fills in. This always fails. The output is correct as I can see in the error message that the correct episode id is selected.
Error Messsage
Correlation Id: 3107f6da-e341-41d6-8330-273f6de7f6b3
Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Button with selector '> frameset > frame[src="/epitomax/episode/Admission.jsp?episode_id=12345
&case_no=100578&episode_type=admission&extra_arg=null"] > html > frameset > frame[src="/epitomax/episode/AllForms.jsp?episode_id=12345
&MAX_ROWS_OVERRIDE=FALSE&ALLFORM_DEFAULT_FORM_TYPE_FILTER='PROGRESS NOTE'"] button[Id="btnAll"]' not found.
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.PressButtonBase.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)