| || |
DataTable reseting current row
When I run a script that executes across multiple iterations qtp always resets the current row in the data table to "1" when executing the first line it comes to that sets the value of a cell in the data table. I was wondering if anybody else has encountered the same problem, what the issue is, and what I can do avoid it in the future. I am currently running QTP 9.1.
Re: DataTable reseting current row
When you are getting out of the data sheet store the current row value in a variable, and when you are back to the same data sheet set the current row to the previous value.
'Step out of Action1
do some operations..
'Get into Action1