mesg2anil
14 years agoRegular Contributor
Wait till the object loads on the page
Hi,
Just want to know if there is any way to make the TC wait till the object is enabled / loaded completely on the page. I gave "Delay XXXX" time to wait till the object is loaded, but it will waste lots of time in this process.
To make TC wait till the page is loaded, I can give as below
Set Page1 = Sys.Process("iexplore", 2).Page("http://" + ProjectSuite.Variables.ServerName + "/Default.asp")
Call Page1.Wait
Similarly, is there a way to make TC wait till the object is loaded instead of using Delay feature?
Just want to know if there is any way to make the TC wait till the object is enabled / loaded completely on the page. I gave "Delay XXXX" time to wait till the object is loaded, but it will waste lots of time in this process.
To make TC wait till the page is loaded, I can give as below
Set Page1 = Sys.Process("iexplore", 2).Page("http://" + ProjectSuite.Variables.ServerName + "/Default.asp")
Call Page1.Wait
Similarly, is there a way to make TC wait till the object is loaded instead of using Delay feature?