Forum Discussion

claudm62's avatar
claudm62
New Member
1 hour ago

Upload file from WinExp don't work

I'm trying to upload a file with Windows Explorer using two different methods:

1)

browser.dlgApri.OpenFile(Project.Variables.URLFileUpload);

browser.dlgApri.btnApri.ClickButton();

2)

browser.dlgApri.cbxFileName.ComboBox.Click(); browser.dlgApri.cbxFileName.ComboBox.SetText(Project.Variables.URLFileUpload);

browser.dlgApri.btnApri.ClickButton();

 

But the test crashes and fails in both cases:

 

"The window with the 0x00140e06 handle exists but did not respond during the auto-wait timeout (10000 ms).

Try increasing the 'Auto-wait timeout' project property.

Tested object:

Aliases.browser.dlgApri.cbxFileName.ComboBox

(Sys.Browser("chrome").Window("#32770", "Apri", 1).Window("ComboBoxEx32", "", 1).Window("ComboBox", "", 1))"

When we increase the "Auto-wait timeout" value to 40000, we get the same error. What can I try? Is there a configuration I should change?

Thanks for the reply

1 Reply