paulvinders
9 years agoContributor
WaitWindow returns with a window object but the underlying window-tree is not complete
Hi,
we wait for a modal window and perform an action:
var form = Sys.Process("abc").WaitWindow("TClass", "Title", -1, -1);
if (form.Exists)
{
form.panel.button.click();
}
Sometimes, WaitWindow returns, the form is visible, but form.Exists is false!?!
Often, WaitWindow returns, the form is visible, form.Exists is true, but form.panel waits until timeout occurs.
We work with TC11 and these problems never occured under TC9. Auto-Wait-Timout = 600000 but does not help.
Sources are written with JScript.
Looks like the Object-Tree is not totally mapped when we perform the form.panel-Statement.
Can anyone help?
Thanks
P. Vinders
SOPTIM AG