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 click on "ok...
Power Automate
Unanswered

Unable to click on "ok" in web application Popup in PAD

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Team,

 

I have web portal where if any mandatory field is missed then it gives popup to click on "OK" but when i use "press button on web page" or "click link on web page" that button is not getting captured. I tried to using these 2 actions from from UI category also but it is same. I also tried to inspect that element in the developer tools there i can not find this element. 

 

Please help me to deal with this popup.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Most pop ups that just have okay will clear by pressing {Enter}.

    I assume you are filling out a form or something and clicking “Submit” and it’s yelling at you that a field is missing.  When it doesn’t error out, where does it go next?  Does it go to a new blank form, or does it go to the next page?  The reason this is important is because you can use where it’s supposed to be to decide if a pop up may have appeared. For example, let’s say it is an application, and after clicking “Submit”, it goes to the next page and says “Thank you for completing your application.”  Let’s call that message the %ThankYou% element.  I would use this element as a trigger, and if the element doesn’t exist, I can naturally assume that a pop up has occurred, and trigger alternative procedures, in this case: Send Keys {Enter}.  The whole thing looks like this.

     

    ‘ the actions you currently have to fill out the fields and click Submit

    Wait for element %ThankYou% fail after 10 seconds (however long it should take to get to the next page, double that)
        On Error , go to Subflow “Error_Submit” then

            1) continue workflow (If this is attended, you could Display Message for the user to fix the discrepancy) or

            2) Go to Label (if you want it to repopulate the fields with the same information (not sure how this would correct it, but may have to add additional logic here.)

     

     

    In a new subflow called “Error_Submit”:

    Send Keys {Enter}

     

    Best of luck!

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard