11-02-2010, 10:27 AM
Hi
Change the code inside the j loop as:
Change the code inside the j loop as:
Code:
t=Window("Flight Reservation").WinComboBox("Fly To:").GetItem(j)
DataTable.Value("to","output") = t
DataTable.SetCurrentRow(j+1)
If x <>t Then
Reporter.ReportEvent 0,"Res","Test Passed"
Else
Reporter.ReportEvent 1,"Res","Test Failed"
End If
DataTable.Value("from","output") = x
Next