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 / Need help with Failed ...
Power Automate
Unanswered

Need help with Failed to set input focus on web page text box.

(1) ShareShare
ReportReport
Posted on by 14

I could really use some help in building an automated data entry flow using PAD for loading data on our back-end video tool running on our intranet. I have used the web recording function and manually capturing the UI Elements to set focus on a text box, but to no avail, I keep seeing the dreaded message "Failed to set input focus on web page text box."

 

Here is the source code depicting the element I am working with:

 

<div class="form-group">
<label>Name</label>
<input type="text" class="form-control ng-pristine ng-untouched ng-empty ng-invalid ng-invalid-required" name="name" ng-model="video.name" required="" style="background-image: url(&quot;data&colon;image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;">

<p class="help-block ng-hide" ng-show="form.name.$error.required &amp;&amp; submitted">
This field is required
</p>
</div>

 

Any thoughts on what I am doing wrong?

 

Thanks for your help.

  • GanCW Profile Picture
    237 on at

    Have you tried using the web recorder tool to capture the UI elements ?  You can use that as a starting point and tweak the recorded actions.

  • kerbco Profile Picture
    14 on at

    Thanks, GanCW yes I did try that but still not finding the correct class to focus on.

  • manojsreekanth8 Profile Picture
    2 on at

    hello sir, can u please tell me if u found that solution?

     

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 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard