cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jsteele64289
Regular Visitor

Click Action Failing After Opening Pop-up

I'm working in PAD to automate clicking a button on a webpage, which opens a pop-up. The pop-up requires the user to click OK before proceeding. After exhausting the options for how to respond to a pop-up ("click OK", "do nothing", "close it"), I am still left with the click action failing despite me being able to tell the button was clicked. 

 

Is PAD not able to handle button clicks if the resulting pop-up window can't be resolved within the same action? I'm also not able to get these buttons to respond to "Click on image" actions, so I'm sort of at a loss on how to proceed.

9 REPLIES 9
MichaelBoruta
Resolver II
Resolver II

@jsteele64289 Try Send keys action >  Insert special keys and send {Return} key. Do not forget to make sure the browser window (pop-up) is focused.  Might work with the Pop-Up...

jsteele64289
Regular Visitor

Interesting turn of events:

 

The pop-up in question was actually a modal dialog box and it seems Power Automate couldn't recognize that the button was clicked. I had to set up error handling to Continue Flow Run on error, before I could deliver a click or a Return key to the dialog box.

 

Hope this saves someone else some time!

SynergiPartners
Regular Visitor

I'm having the same issue. When PAD clicks "Delete All," a pop-up dialog window is displayed that shows a question with two buttons--OK and Cancel. I chose the options, "wait for web page to load" and "if a pop-up dialog appears, do nothing." Nothing seems to be working. I've tried all options as well and even tried the Send Keys option, but it still errors on the Press Button on Web Page action. Any ideas? Thank you!

JKirby
Frequent Visitor

I have the same issue. I couldn't get pass this pop up. Send Key doesn't work because, it doesn't move to the next step for a Send Key to work. I have tried "Do nothing", "Close it", "Press a button", non of it worked or turning off ""Wait for page to load". None of it work.

JKirby_0-1644862113932.png

 

Does PAD error out when this happens?  Of PAD errors out, you could then say, On Error, go to subflow and have a subflow that is just send keys {Enter}

SynergiPartners
Regular Visitor

You're a total genius! Thank you so much! 🙂

JKirby
Frequent Visitor

Thanks. I used Wait for text on screen (OCR) and it worked.

jsteele64289
Regular Visitor

Thanks, guys, for continuing to come up with solutions for this!

Hi Michael,

I have a model pop-up where I need to drag and drop certain elements.

Initially, I used the recording to identify fields where drag and drop events are not captured.

PAD is not identifying elements inside the model pop up.

Moreover is there is a way in PAD to validate the selector .  I have even tried with customised CSS locator which also ended in vain. Could you please help me on this

issue.PNG

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (4,367)