Monday 28 June 2021

Fix for Microsoft Forms Button click failed in Power Automate Desktop

 In this blog, I have given the solution for the issue we face while using Microsoft Power Automate Desktop in Microsoft Forms


Problem:
Both Web and Window button click does not work and it throws the below error.


 Failed to press button (failed to get window)

Failed to press button (failed to get window): Robin.Core.ActionException: Failed to press button (failed to get window) ---> Robin.Shared.Runtime.ActionException: Failed to press button (failed to get window)
at Robin.Modules.UIAutomation.Actions.UIUtils.TryFuncThrowExceptionIfNull[T](Func`1 func, ActionException ae)
--- End of inner exception stack trace ---
at Robin.Modules.UIAutomation.Actions.PressWindowButton.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

Solution:

 It is actually a work around. Instead of using the "button click" actions, we can use the "Send Keys", when the cursor is in the last control of the form and next is to click on the submit button as shown below. 

Usng the "Insert Special Keys" drop down select the {Tab}{Return} keys in the "Text to Send".

Please try it out and let me know if it worked for you.



1 comment:

  1. Bên này có bản quyền Office 365 A1 Plus giá rẻ mua một lần dùng vĩnh viễn luôn không cần dùng lậu cũng được

    ReplyDelete

Scenarios to use Virtual Table in Dataverse (Power Platform)

Virtual tables in Dataverse provide a way to access extern al data sources without requiring data replication or synchronization. Here are...