QTP Script to get rowcount of datatable for specific column.
count1=0
For i=0 to datatable.GetRowCount-1
a= datatable.Value("A")
datatable.SetNextRow
If a<>vbNullstring Then
count1=count1+1
End If
Next
msgbox count1
where A is column name(in datatable).
QTP Script to get DataTable ColumnCount,Adding new Column to Datatable,Getting Datatable Column Names
Showing posts with label qtp script to get rowcount based on column name. Show all posts
Showing posts with label qtp script to get rowcount based on column name. Show all posts
QTP Script to get RowCount of DataTable for Specific Column
Subscribe to:
Posts (Atom)