whuang
4 years agoRegular Contributor
why my page wait method doesn't work?
Hi there,
I was using Aliases.browser.Page("*Admin/Alerts/AlertTemplateDetails.aspx*").Wait(30000) to ask TC wait for the page was loaded, but as you can see in the screenshot, it looks like TC could recognized the page and it logged an error after just around 4 seconds saying the page was not found. Did I code it wrong? Can anyone tell me how I can fix it?
Thanks in advance
Hi,
> There was only chrome running at that time.
Can you double-check this using the Details tab of Task Manager?
My expectation is that there is more than one browser process exists in the system and TestComplete picks up the one that is not visible and thus does not have Page which TestComplete tries to wait for and fails after timeout.