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

 

View solution in original post

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
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!

Top Solution Authors
Top Kudoed Authors
Users online (1,073)