Mike, thanks.
I have studied the accessibility and I think the best way suit to my question is to add a title check. However, it looks like in Stores, the object is created particular to one single page. But in my desire, I want the object to be dynamic created as current page.
See my codes, it open excel and open the URL defined one by one. In the {} section, is it possible to add statements to define the current page as the object, so that WebTesting.WebAccessibility1.Check will work?
Set objExcel = CreateObject("Excel.Application")
Set objWorkbook1 = objExcel.workbooks.open ("E:\*.xls")
Sub Unit1()
Call Log.AppendFolder("Launching Internet Explorer")
Dim intRow
intRow = 1
Dim iexplore, URL, page
Set iexplore = TestedApps.iexplore.Run()
Do Until intRow = 10
'objExcel.Cells(intRow,1).Value = ""
URL = objExcel.Cells(intRow,1).Value
Call iexplore.WaitPage("*", 2500).ToURL(URL)
{
}
intRow = intRow + 1
Loop
Call Log.PopLogFolder()
Call TestedApps.iexplore.Close()
objWorkbook1.close
objExcel.Quit
End Sub