web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PAD Ui Element by popu...
Power Automate
Unanswered

PAD Ui Element by populate Textfield

(0) ShareShare
ReportReport
Posted on by 8

by populate text field. the text in the ui element is not filled in. when i test it works, but in attended or unattended mode it does not work. here is the error message:

 

Problem beim Ausführen der Aktion „PopulateTextField“. Schreiben in Textfeld fehlgeschlagen (Textfeld wurde nicht gefunden)

Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Schreiben in Textfeld fehlgeschlagen (Textfeld wurde nicht gefunden) ---> Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException: Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException' was thrown.
at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.AutomationRuntimes.UIAutomationRuntimeBase.RetractElement(IntPtr windowHandle, String selector)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.AutomationRuntimes.UIAutomationRuntimeBase.PopulateTextFieldInWindow(IntPtr windowHandle, String selector, String text, PopulateTextModeEnum operationMode, MouseClickTypeEnum mouseOperationMode, Boolean simulate)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.LocalAutomationRuntime.PopulateTextFieldInWindow(UIRuntimeElement element, String textToFillIn, PopulateTextModeEnum operation, MouseClickTypeEnum mouseClick, Boolean simulate)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.Router.UIAutomationRuntimeRouter.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_2.PopulateTextFieldInWindow(UIRuntimeElement , String , PopulateTextModeEnum , MouseClickTypeEnum , Boolean )
--- Ende der Remoteausnahme-Stapelverfolgung----
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.RemoteAutomationRuntimeProxy.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.PopulateTextFieldInWindow(UIRuntimeElement , String , PopulateTextModeEnum , MouseClickTypeEnum , Boolean )
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.PopulateTextFieldInWindow.<Execute>b__21_0(IAutomationRuntimeProxy r, UIRuntimeElement e)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation[T](Func`3 action, UIControl control, Boolean logAction)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.PopulateTextFieldInWindow.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.PopulateTextFieldInWindow.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

 

Key_Key_0-1705918002600.png

 

 

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Key_Key 

     

    so you are saying when you do unit testing, it is working but when running the flow overall it is not working,

     

    Have you put some dely before typing the data into field, would that help ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Key_Key Profile Picture
    8 on at

    yes the variable should insert the 3 last months.

    Key_Key_0-1705994644607.png

     

  • Key_Key Profile Picture
    8 on at

    yes, i put the dely before typing data in field

  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Key_Key 

     

    Try to see whether enabling this option in Populate action helps or not ?

     

    Nived_Nambiar_0-1706031951502.png

     

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Key_Key Profile Picture
    8 on at

    Yes i have tried this option an its not work. I use Poulate textfield on Window.

     

    Problem beim Ausführen der Aktion „PopulateTextFieldUsePhysicalKeyboard“. Das Formularfeld mit dem Selektor „input[Id="i0118"]“ wurde nicht gefunden.

    Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Das Formularfeld mit dem Selektor „input[Id="i0118"]“ wurde nicht gefunden. ---> Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Exceptions.ElementNotFoundException: Element not found
    at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.Extensions.WebAutomationResultExtensions.UnWrap[T](WebExecutionResult`1 result, String cssSelector, String option)
    at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.Actions.LocalWebAutomationRuntime.PopulateTextFieldOnWebPage(WebBrowserInfo webBrowserInfo, String cssSelectorForFormFieldElement, String textValue, String dialogButtonToPress, Boolean emulateTyping, Boolean waitForPageToLoad, WebPageCourseOfActionIfDialogAppears courseOfActionIfDialogAppears, Boolean unfocusTextFieldAfterFillingIt, PopulateTextModeEnum operationMode, Boolean usePhysicalKeyboard, TimeSpan waitForPageToLoadTimeout)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.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.PopulateTextFieldOnWebPage(WebBrowserInfo , String , String , String , Boolean , Boolean , WebPageCourseOfActionIfDialogAppears , Boolean , PopulateTextModeEnum , Boolean , TimeSpan )
    --- Ende der Remoteausnahme-Stapelverfolgung----
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.GetRemoteResultOrThrow(ISerializer serializer, RPCMessage response, Type expectedResultType, Object additionalContext)
    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_2.PopulateTextFieldOnWebPage(WebBrowserInfo , String , String , String , Boolean , Boolean , WebPageCourseOfActionIfDialogAppears , Boolean , PopulateTextModeEnum , Boolean , TimeSpan )
    at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass27_0.<PopulateTextFieldOnWebPage>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.PopulateTextFieldOnWebPage(WebBrowserInfo webBrowserInfo, String cssSelectorForFormFieldElement, String textValue, String dialogButtonToPress, Boolean emulateTyping, Boolean waitForPageToLoad, WebPageCourseOfActionIfDialogAppears courseOfActionIfDialogAppears, Boolean unfocusTextFieldAfterFillingIt, PopulateTextModeEnum operationMode, Boolean usePhysicalKeyboard, TimeSpan waitForPageToLoadTimeout)
    at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.PopulateTextFieldBase.<Execute>b__37_0(IWebAutomationRuntime s)
    at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.<>c__DisplayClass5_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.PopulateTextFieldBase.Execute(ActionContext context)
    --- End of inner exception stack trace ---
    at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.PopulateTextFieldBase.Execute(ActionContext context)
    at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard