Upload file from WinExp don't work

Originally posted by claudm62 on April 06, 2026

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

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

browser.dlgApri.btnApri.ClickButton();

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

Originally posted by rraghvani on April 07, 2026

Are you referring to WinExplorer from WinExplorer v1.30? If yes, then it’s most likely the application has been built without Microsoft Active Accessibility enabled.

Originally posted by claudm62 on April 07, 2026

i refer to windows explorer to select file for upload:

Originally posted by claudm62 on April 07, 2026

Fixed the issue using activate

browser.dlg Apri.Activate();

browser.dlg Apri.Keys(Project.Variables.URLFileUpload);

browser.dlgApri.Keys(“[Enter]”);

Originally posted by rraghvani on April 07, 2026

You might be able to use Working With Open File and Save File Dialogs. However, if your code works fine, then use that!