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.
Helen, in both machines where I run these tests (virtual with TE and physical with TC) I have the user account control turned off. About the timeouts I will have to check it tomrrow as I don't have the access to TestComplete to change it right now - when I run the tests although the error message is right after the previous operation (this is not even a second after).
The strange thing is that I use the WaitWindow method every time before using this combo box or the method you provided and every time it finds the object (it's also visible in Object Spy).
With regard to UAC: Disabled UAC is not the same as running as admin. For example, if you're working under a standard user account rather than an administrator account. In this case the "run as admin" suggestion is still valid.
If neither helps, would you mind collecting some troubleshooting info to help us track down the problem? Please do the following:
* Start TestComplete and open your test project.
* Run two instances of the ReportGenerator utility:
* In one instance, click the Launch/attach to TestComplete link.
* In the other instance, click the Track application launch link and specify your application name (AdaptiveVisionStudio) in the next dialog.
Once you perform the steps, the utility will trace the work of TestComplete and the application under test. After the problem happens and you see the error in the test log, click the Generate button in each utility window and create report archives.
Please send the two archives to Support as a reply to your support ticket M0101316.
Helen Kosova SmartBear Technical Writer ________________________ Vote up helpful replies. Accept this reply if you think it's the best solution to your question.
Was there a resolution to this issue? I'm hitting the exact same problem with a WinForms text box. Exists is true, CanFocus and CanSelect properties are true but trying to SetText intermittently fails with window does not respond error as mentioned above. Hard coded delays do not resolve the issue.