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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to type and ext...
Power Automate
Unanswered

Unable to type and extract value on web page

(0) ShareShare
ReportReport
Posted on by 25

Hello Experts,

 

i want to type a value into a textbox and extract a value from webpage.

it is very simple but PAD cannot recognize the textbox.

i used a web recorder to do it. it recorded well but didn't work with error below

"Subflow_2 3 Failed to write text '1234567890' in form field (error in communication with browser). "

it's selector is defined using UI element button. "iframe[Id="txppIframe"] input[Id="bsno"]"

 

here is the website and there is only one textbox on it. 

https://teht.hometax.go.kr/websquare/websquare.html?w2xPath=/ui/ab/a/a/UTEABAAA13.xml

you can type 1234567890 into textbox then press enter. that's all i did with PAD.

 

before changing GA, it worked fine. but now i cannot.

i've tried to do it with UIPath and Winautomation. it worked perfectly but PAD didn't.

 

It would be much appreciated if you could give me an advise.

 

 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @jadenkim ,

     

    Try using send keys.

    Send Keys Action:

    {Tab}123456{Tab}{Enter}

    sakula1996_0-1609354791176.png

     

     

     

    sakula1996_1-1609354837145.png

     

  • csundar Profile Picture
    87 on at

    You may try to focus on the text box first, then entering the text.  I have found some fields need that initial focus before you can enter the data.  I do this a lot with iframe actions.

  • jadenkim Profile Picture
    25 on at

    @csundar  thank you for your reply. 

    i tried to do accordingly your advice. but cannot focus on it. 

     

    Extension error: Robin.Core.ActionException: Failed to set input focus on UI element on web page (error in communication with browser). ---> System.Exception: Extension error
    --- 내부 예외 스택 추적의 끝 ---
    위치: Robin.Modules.WebAutomation.Actions.FocusBase.Execute(ActionContext context)
    위치: Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

     

    thanks in advance and happy new year.

  • jadenkim Profile Picture
    25 on at

    @Anonymous  thank you for your reply.

    i did it as your guide. it works. thank you.

    after then i would like to extract searched value highlighted yellow

    jadenkim_0-1609380823911.png

     

    but cannot extract with error below.

    Unexpected character encountered while parsing value: u. Path '', line 1, position 1.: Robin.Core.ActionException: Failed to retrieve attribute 'Own Text' of UI element on web page. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: u. Path '', line 1, position 1.
    위치: Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
    위치: Newtonsoft.Json.JsonTextReader.ReadAsString()
    위치: Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
    위치: Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
    위치: Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
    위치: Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
    위치: Robin.Modules.WebAutomation.Actions.WebAutomationActions.GetDetailsOfElementOnWebPage(Variant webBrowserInstance, Variant cssSelectorForElement, Variant humanFriendlyAttributeName, Variant& attributeValue)

    위치: Robin.Modules.WebAutomation.Actions.GetDetailsOfElement.Execute(ActionContext context)
    위치: Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

     

    how can i extract it?

    thanks in advance and happy new year.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @jadenkim ,

     

    Try using 'Run Javascript function on web page' action

     

    function ExecuteScript() {
    var value = document.getElementById('grid2_cell_0_1').childNodes[0].textContent;
    return value;
    }

     

    sakula1996_0-1609432788414.png

     

    sakula1996_1-1609432829226.png

     

    Hope this solves your issue.

     

    Thanks 🙂

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard