Forum Discussion

dpiotrowski's avatar
dpiotrowski
Contributor
12 years ago

"The window does not repond" problem

I'm trying to set the text value of a combo box (standard window for choosing path to file in Windows 7) using given string  in my test. I'm using such line:

Call Sys.Process("AdaptiveVisionStudio").Window("*", "Open", 1).Window("ComboBoxEx32", "", 1).Window("ComboBox", "", 1).Window("Edit", "", 1).setText(licenceFilePath)



When it comes to this line in test, it fails and gives the following message:


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



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



Tested
object:

Sys.Process("AdaptiveVisionStudio").Window("#32770", "Open",
1).Window("ComboBoxEx32", "", 1).Window("ComboBox", "", 1).Window("Edit", "",
1)



It says the window does not respond, but the text is actually set properly in combo box, I check it with Object Spy and it does see this window. I tried using WaitWindow method before setting the text but it seems to have nothing to do with this problem because the window always exists it just "does not respond". Can anyone help me with this? It's pretty annoying as it didn''t seem to be a complicated operation to simply set the combo box text.

18 Replies