WaitWindow is returning a ramdom inactive window and not the top one
After I instaled the last version of testcomplete (and the sugested update) I'm having error at all my project. I'm having to review all the work I did with the trial version (while I waith the company buy testcomplete).
The problem is occurs when I call the function WaitWindow. For windows without caption (title) . If there are not window active the testcomplete is returning a hiddem inactive window. And all my application is raising errors.
I use this simples pattern
set wAlertaVenc = Sys.Process("central").WaitWindow("_TForm", "*", 1,1000)
If wAlertaVenc.Exists then
Sys.Process("central").Window("_TForm", "", 1).VCLObject("OK").Click
end if
There are something I could do to avoid this error? there are any patch I could apply to solve this?