sguda
14 years agoRegular Contributor
Test Complete is not recognizing the wnd caption property of the IE page.
Hi in my keyword test i am using wait property method to wait for the WinCaption of the IE page to load.
This is the syntax i used. But looks like it is not recognizing and keep on waiting even after the page is opened with the same wnd caption.
StopWatchObj = .StopWatch
This is the syntax i used. But looks like it is not recognizing and keep on waiting even after the page is opened with the same wnd caption.
Set StopWatchObj = HISUtils.StopWatch
StopWatchObj = .StopWatch
dim MyCell
MyResult = CBool(False)
StopWatchObj.Start
Set MyCell = Aliases.iexplore1.IEFrame
MyResult = MyCell.WaitProperty("WndCaption","http://qa2008/advantageV260/SY/ReportViewer.aspx - Internet Explorer, optimized for Bing and MSN",480000)
if MyResult = True then
StopWatchObj.Stop
Log.Message(" Crystal Blank Report Page appears. Execution time: " & StopWatchObj.ToString )
Else
Log.Message("Crystal Blank Report not Loaded.")
end if
Please suggest.