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.
Solved! Go to Solution.
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.
@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
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 🙂
User | Count |
---|---|
13 | |
7 | |
6 | |
6 | |
5 |
User | Count |
---|---|
19 | |
17 | |
17 | |
12 | |
11 |