rfojta
15 years agoNew Contributor
Window.Close doesn't allow to handle pop-up windows
I've migrated from TestComplete4 to TestComplete7 and some test doesn't work now. One of them is method for closing window.
There's code in JScript:
var win = ... // get window from mapping
win.Close(); // call close operation on window
var msg = ... // get pop-up which may appeared
if( msg.Exists ) msg.Window("Button", "&No").ClickButton(); // click No and close pop-up window
// Now the window should be closed.
-----
After migration to TC7 there's and error produced on Close() operation:
The window does not respond. - The window with the 0x0e3005b6 handle exists but did not respond during the auto-wait timeout (1000 ms).
I didn't find any bug reporting feature on this web pages, so I'm using forum instead.
Does anyone have similiar experience?
Thanks.
There's code in JScript:
var win = ... // get window from mapping
win.Close(); // call close operation on window
var msg = ... // get pop-up which may appeared
if( msg.Exists ) msg.Window("Button", "&No").ClickButton(); // click No and close pop-up window
// Now the window should be closed.
-----
After migration to TC7 there's and error produced on Close() operation:
The window does not respond. - The window with the 0x0e3005b6 handle exists but did not respond during the auto-wait timeout (1000 ms).
I didn't find any bug reporting feature on this web pages, so I'm using forum instead.
Does anyone have similiar experience?
Thanks.