Friday, March 1, 2013

QTP :Run alternate iterations from the data table

Run alternate iterations from the data table


Click File –> Settings –> Run –> Select Run  once


currow = 1
Do Until currow =DataTable.GetSheet("dtGlobalSheet").GetRowCount

  currow = DataTable.GetCurrentRow
  msgbox Datatable("A",Global)
  currow = currow + 2
  DataTable.SetCurrentRow(currow)

Loop

No comments:

Post a Comment