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 / Button Press Failed - ...
Power Automate
Answered

Button Press Failed - PAD not calling variable

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

First time posting here. I tried looking for an answer to my issues before posting but couldn't find something that worked for me. I am having issues with web automation on QuickBooks Online (browser version). Nothing seems to be working when I try to log in my QuickBooks Online account using PAD, neither when I try to push the sign in button (using the Press button PAD web form action), nor when I try to write my QuickBooks password (using the Populate text field PAD web form action). I tried using them via both web recording and by dragging them into the PAD canvas and I get the same error, Button-press (or populate text) failed (error communication with browser):

 

Coffee123_0-1626436144073.png

 

I have tried:

 

1) Using different browsers (all with PAD extensions)

2) Uninstall and install PAD and the same thing with the web PAD extensions

3) When using Chrome, I disabled running background apps while it being closed

4) Made sure my system had the following environmental variable: 'ComSpec C/WINDOWS/system32/cmd.exe

 

This is an example of a simple flow that is not working:

 

Coffee123_1-1626436539212.png

 

One thing I noticed, is that if I try to add a variable through the action directly (not through web recording), PAD is not recognizing the variable. It says that there are no UI elements to display even after I add them using the Add UI element button on the action:

 

Coffee123_3-1626436740501.png

 

The only way the Press button action on web form recognizes a variable option is if I use web recording and I press the button while recording. Not sure if this is a symptom of the real issue here. Appreciate any help this community can give me.

 

Thanks,

 

 

 

 

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous

    The issue may be related to how you're capturing UI elements and configuring selectors.

    But If you captured UI elements and they don't display in a 'Press button on web page' action, try using 'UI automation' group actions instead, even if you're in a browser ('Press button in window' action, for instance). 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Wow, this totally worked. Thank you so much! I was able to both populate text field and press the sign in button using the flow included below (using UI automation action group):

    Coffee123_0-1626440792790.png

    If you don't mind me asking, why are these actions working and the others from web form weren't? Would like to know in order to learn the logic behind how PAD works.

     

  • Daniel_Pa Profile Picture
    244 on at

    Some sites use iframes to contain other pages within them. These can sometimes make it seem like an app is running within the browser, thus making UI Automation actions more effective than the classic Web actions.

    I've had varying results with both type of actions within iframes.

     

    ^^This is just a guess though, as I'm not familiar with QuickBooks Online.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard