vbscript - I am not able to wait in testcomplete for page element to load -
i working on web application, using tool testcomplete vbscript. pagetab = sys.process("iexplore").ieframe(0).commandbar.tabband.tabbutton("tieto client manager").enabled
while(pagetab <> true) sys.process("explorer").refresh pagetab = sys.process("iexplore").ieframe(0).commandbar.tabband.tabbutton("tieto client manager").enabled sys.process("iexplore").ieframe(0).commandbar.tabband.tabbutton("tieto client manager").refresh loop pagebusystate = sys.process("iexplore" , 2).page("*").busy while(pagebusystate <> false) pagebusystate = sys.process("iexplore" , 2).page("*").busy loop
with code can wait new page not able wait control loading page.
the best approach wait until dynamic page ready wait specific object on page. example, can first object need work on page. approach described along couple of other approaches in waiting web pages topic.
Comments
Post a Comment