WaitElement doesn't wait till the timeout time on Test Complete version 15.54
Hi!
I've just installed the following Test Complete version: 15.54.3.7 x64 (just before I had the 15.52).
I've got Web tests, and I'm not able anymore to use the Page "WaitElement" method, that was working on 15.52 version!
It seems that the code doesn't wait anymore for the input timeout, and it returns immediately. For example, I've got a code like this, where the buttonLocator variable is the css selector:
let page = Sys.Browser().Page("*");
page.Wait(20000);
..
let buttonDisplayed = page.WaitElement(buttonLocator, 20000);
if (buttonDisplayed.Exists)
{
Log.Checkpoint("....");
}
else
{
Log.Error("....");
}
This code frequently fails (the buttonDisplayed.Exists is false) but without waiting the 20 seconds! (I've checked it in debug mode)
Is there a bug on 15.54 version for the usage of the Timeout parameter of this method?
It was perfectly working with the past version 15.52.
Regards,
Simona