cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
parandurume-kr
Regular Visitor

Populate input field in Google Forms

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

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'

 googleformautomation.png

 

View solution in original post

3 REPLIES 3
Expiscornovus
Super User
Super User

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'

 googleformautomation.png

 

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

parandurume-kr
Regular Visitor

@Expiscornovus 

All of sudden, it works.

Thank you.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Solution Authors
Top Kudoed Authors
Users online (4,745)