11-29-2012, 12:55 PM
Hope you are executing ur code in for loop. The below code always write in Global sheet
Code:
For i = 1 to 3
If Browser("QNXT - Benefit Plan Module").Window("About QNXT -- Webpage").Page("About QNXT").Frame("Frame").WebButton("Cancel").Exist Then
DataTable.SetCurrentRow(i)
DataTable("Result") = "Passed"
Else
DataTable("Result") = "Run Time Error"
End If
Next