cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlanStevens
Helper I
Helper I

RPA using Power Automate Desktop - Error on 'Press Button' Action

Im trying to autmate some data entry into a bespoke web based CRM system using RPA in Power Automate Desktop. I have recorded the actions / inputs to automate this process, however when I run it - I get an error when it comes to clicking on a button on screen:

 

Location: Subflow: Main, Action: 8, Action name: Press button on web page

 

Error Message: Button with selector 'div[Id="app"] > div[Class="app-content ng-scope"] > div[Class="app-content-body fade-in-up ng-scope"] > div[Class="ng-scope"] > div[Class="ng-scope"] > div[Class="panel panel-default ng-scope"] > div[Class="panel-footer"] > button[Class="btn btn-primary btn-addon pull-right m-l-sm"][Type="submit"]' not found.

 

Detail: Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Button with selector 'div[Id="app"] > div[Class="app-content ng-scope"] > div[Class="app-content-body fade-in-up ng-scope"] > div[Class="ng-scope"] > div[Class="ng-scope"] > div[Class="panel panel-default ng-scope"] > div[Class="panel-footer"] > button[Class="btn btn-primary btn-addon pull-right m-l-sm"][Type="submit"]' not found.
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.PressButtonBase.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

 

Can anyone help resolve this? The extensions on the browser are working fine and I have tried both chrome and edge and get the same issue. 

 

1 ACCEPTED SOLUTION

Accepted Solutions
VJR
Super User
Super User

The selectors are not correctly set enough to identify the Submit button.

Either correct them in the selectors window by ticking/unticking the relevant options.

or

Just try adding only one selector ie; Type="submit" assuming there is only one Submit button on that page.

View solution in original post

3 REPLIES 3
Ankesh_49
Super User
Super User

@AlanStevens  Could you please confirm if it is a dynamic object which you want to click?

or may be you can try using sendkeys method to achieve your desired solution.

 

Thanks

Ankesh

VJR
Super User
Super User

The selectors are not correctly set enough to identify the Submit button.

Either correct them in the selectors window by ticking/unticking the relevant options.

or

Just try adding only one selector ie; Type="submit" assuming there is only one Submit button on that page.

Hi - that has worked perfectly! Thanks 🙂

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,441)