Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Not able to click on MS forms submit button

Hi community,


I was creating a workflow using PAD to submit the MS form responses but unfortunately the last step is not running of clicking on the submit button. any help?


Error - Robin.Core.ActionException: Button-press failed. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.PressButtonOnWebPage(WebBrowserInstanceVariant webBrowserInstanceVariant, TextVariant cssSelectorOfButtonToPress, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears)
at Robin.Modules.WebAutomation.Actions.WebAutomationActions.PressButtonOnWebPage(Variant webBrowserInstance, Variant cssSelectorOfButtonToPress, Variant dialogButtonToPress, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears)
--- End of inner exception stack trace ---
at Robin.Modules.WebAutomation.Actions.PressButtonBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)





Accepted Solutions

Try editing the selector so that it appears as: Button(Title=‘Submit’)

View solution in original post

Solution Sage
Solution Sage

Hi @vaibhavtandon87 

The button you're trying to click has a unique title/caption? If so, then in the Selector Builder of the element select only the option that contains Title = (title of your button), and uncheck all others, as in the example below:


Helper IV
Helper IV

@yasunm02 Thanks for your prompt respone!

Could you please share more clear picture please? I tried but it didnt work. Attaching what I have done.


Submit button.jpg

Try editing the selector so that it appears as: Button(Title=‘Submit’)

View solution in original post

Helper IV
Helper IV

That worked, thanks @yasunm02 !

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,203)