11-10-2017, 04:49 AM
(10-08-2010, 10:27 AM)KavitaPriyaCR Wrote: Then try this, I am taking the rCount and cCount as 2 and 15 as table is of fixed size else take the counts.
Code:StrToCompare="Less Client account (FIU)"
For i=1 To 2
j=1
Flag=0
Do While (Flag=0 AND j<16)
Str=Browser("BrowserProp").Page("PgProp").WebTable("TblProp").GetCellData(i,j)
If (StrComp(StrToCompare,Str)=0) Then
Flag=1
Exit Do
End If
j=j+1
Loop
If (Flag=1) Then
Reporter.ReportEvent micPass, "PASS", "The item","Item Found in the column" & i
else
Reporter.ReportEvent micPass, "PASS", "The item","Item Not Found in the column"&i
End If
Next
Thank you KavitaPriyaCR, I'll try it and will let you know.