
Originally Posted by
NawabShaikh
Dim a(<>)
''Hold all the to be added Item in the Array/ Use the ListBox Entires at RunTime.
intCnt = Browser(b).Page(p).Frame(f).WebList(W).getROProperty("items count")
''Once u have added the Items Using the Add Functionality (Comparision?)
For LCnt = 0 to intCnt-1
'''Hold the Data from the Table
strTMP = Browser(b).Page(p).Frame(f).WebTable(w).GetCellData(LCnt +1,1)
''Assuming that the added data is reflected in the First Column
if strComp(strTMP,a(LCnt) = 0 then
Reporter.ReportEvent micPass,"SUCCESS","SUCESS"
else
Reporter.ReportEvent micFail,"FAILURE","FAILURE"
end if
Next
Regards,
Nawab