Hi all,
I'm trying to automate filling a web form with Google forms.
When I add a UI element in the form, the appmask detects 'edit' not 'input box'.
I've added the chrome extension but it says "Failed to assume control of Chrome (Internal error or communication failure)."
The copied error messages are as follows:
Robin.Core.ActionException: Failed to assume control of Chrome (Internal error or communication failure). ---> System.NullReferenceException: 개체 참조가 개체의 인스턴스로 설정되지 않았습니다.
위치: Robin.Shared.Runtime.WebUtilities.ChromeLauncher.CreateWebBrowser(IntPtr handle, TabInfo tab)
위치: Robin.Shared.Runtime.WebUtilities.WebExtensionsBrowserLauncher.LaunchNew(ProcessWindowStyle processWindowStyle, String initialUrl)
위치: Robin.Shared.Runtime.WebUtilities.Chrome.TryStartNew(ProcessWindowStyle processWindowStyle, String initialUrl)
위치: Robin.Modules.WebAutomation.Actions.WebAutomationActions.LaunchNewChrome(Variant initialUrl, Variant chromeTabTitle, Variant chromeTabUrl, Variant dialogButtonToPress, Variant& webBrowserInstance, Int32 operation, Int32 windowState, Int32 attachMode, Boolean waitForWebPageToLoad, Int32 courseOfActionIfDialogAppears, Boolean clearCache, Boolean clearCookies)
--- 내부 예외 스택 추적의 끝 ---
위치: Robin.Modules.WebAutomation.Actions.LaunchChromeBase.Execute(ActionContext context)
위치: Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)
What may cause this error and how can I fix?
Thank you in advance.
Solved! Go to Solution.
Hi @parandurume-kr,
I believe you can identify an input text question in a Google Form with the following class.
input[Class="quantumWizTextinputPaperinputInput exportInput"]
I am using the following actions in my example.
WebAutomation.LaunchChrome Url: $'''https://www.bbc.co.uk''' WindowState: WebAutomation.BrowserWindowState.Maximized ClearCache: False ClearCookies: False BrowserInstance=> Browser
WebAutomation.GoToWebPage BrowserInstance: Browser Url: GoogleFormLink
WebAutomation.Click BrowserInstance: Browser Control: appmask['Pane \'Test Form - Google Chrome\'']['List Item']
@@timestamp: '2021-02-17T10:51:02.6168423Z'
WebAutomation.FormFilling.PopulateTextField BrowserInstance: Browser Control: appmask['Recording']['input'] Text: 'Test'
Hi @parandurume-kr,
I believe you can identify an input text question in a Google Form with the following class.
input[Class="quantumWizTextinputPaperinputInput exportInput"]
I am using the following actions in my example.
WebAutomation.LaunchChrome Url: $'''https://www.bbc.co.uk''' WindowState: WebAutomation.BrowserWindowState.Maximized ClearCache: False ClearCookies: False BrowserInstance=> Browser
WebAutomation.GoToWebPage BrowserInstance: Browser Url: GoogleFormLink
WebAutomation.Click BrowserInstance: Browser Control: appmask['Pane \'Test Form - Google Chrome\'']['List Item']
@@timestamp: '2021-02-17T10:51:02.6168423Z'
WebAutomation.FormFilling.PopulateTextField BrowserInstance: Browser Control: appmask['Recording']['input'] Text: 'Test'
Hi @Expiscornovus ,
Very grateful for your answer.
That is the problem that I can't identify the input box.
When I try to add a UI element of the input box, the UI Spy identifies 'edit'.
The address I try to identify the input box is https://forms.gle/h8PD1QxCJmHJoZfQA
Do you have an idea to find the solution to identify the input box instead of edit?
Thank you,
Inhee
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.