For Loop in QTP July 4, 2015June 10, 2022InfallibleTechie Admin Sample Code:Dim rowcount for i=1 to rowcount Datatable.SetCurrentRow(i) ‘— Code here Next