10-13-2011, 05:22 AM
Hi
I am getting values from Data table and using that values I am asserting.I want to Quit the for loop iteration after it get the correct reply code.
This is my code.
Thanks for your time.
Thank you
Uma
I am getting values from Data table and using that values I am asserting.I want to Quit the for loop iteration after it get the correct reply code.
This is my code.
Code:
fr=DataTable.LocalSheet.GetRowCount
'Print fr
For i = 1 to fr
DataTable.SetCurrentRow(i)
print i
rc=DataTable.Value("oRc",3)
print rc
If Browser("").Page("").WebElement("innerhtml:="&rc,"html tag:=B","index:=0").Exist(1) Then
'reporter.ReportEvent micPass,"Test got result:"&rc,"Test Passed"
End If
Next
Thanks for your time.
Thank you
Uma