12-04-2009, 04:24 PM
Code:
'get the numbe of application in the table
i=browser("bbb").page("bbb").frame("fff").webtable("kkk").RowCount
'comparing the count number and number app displayed in table
if (i=browser("bbb").page("bbb").WebEdit("tt").getROProperty "value"
msgbox "The count number and the number of applications in the grid are same."
pcount=0;fcount=0;
for x=0 tobrowser("bbb").page("bbb").frame("fff").webtable("kkk").RowCount -1
if browser(111).page().frame().webtable().GetCellData(i,coloumnNumber)="Matched" then
Pcount=Pcount+1
else
Fcount=Fcount+1
end if