Wednesday, July 30, 2008

To show the data from a particular row and a particular colum from Data Table in QTP

NumColumns=datatable.GlobalSheet.GetParameterCount
NumRows=datatable.GlobalSheet.getrowcount
For i =
1 to NumRows
Datatable.SetCurrentRow(i)
For j =
1 to NumColumns
tblCellText = Datatable(j,dtGlobalsheet)
If tblCellText <>
"" Then
Msgbox
"The Text in Row: " & i & " and Column: " & j & " is: " & tblCellText
End If
Next
Next


Regards,

Pavankumar Nandagiri...............

Google Search

Google