The window does not respond - for YesNo dialog box
I have a button I cannot click. Test Complete 12.40 VBScript
My desktop application brings up a YesNo dialog box, and I cannot click Yes.
The error is "The window does not respond."
In Name Mapping I can double click the object, and it brings up the dialog for the object.
I've tried:
using the full button name -
Sys.Process("TestDriver").Window("#32770", "Test Driver", 1).Window("Button", "&Yes", 1).ClickButton
When I click HIGHLIGHT, it highlights the correct button.
and the alias name from a recording session:
dlgTestDriver.btnYes.ClickButton
I've deleted the button, and re-added it.
The error below (not responding) is confusing, as the dialog is up and functioning. It's almost as if it's trying to click on a button in the PARENT window, and that's failing.
If I record a click of just that button, and manually play back that recording at the right time, it works perfectly.
But that same code during full execution doesn't work. AAARRRGGG!
I'm somewhat new to TestComplete, but not to automation.
Any guidance would be appreciated.
Ron T
Try increasing the 'Auto-wait timeout' project property.
Tested object:
Aliases.TestDriver.dlgTestDriver.Edit6
(Sys.Process("TestDriver").Window("#32770", "Test Driver", 1).Window("Edit", "", 7))