Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetNextRow explanation
#2
Solved: 11 Years, 4 Months ago
I just wonder how you are getting 1255 in second row.
I have gone through the statements above and feel that it will always write 1255 in the the third row only unless you have not set the current row / commented your statements anywhere in betwenn again apart from the mentioned.

if the current row is not set at the beginning
first statement DataTable("MyCol","Action1")=123456 will always write at the first row
in second statement you will get the value as '1' for row
which you use to set the current row increasing with 1 i.e. now the current row is 2
in the next statement you are again setting the current row as next row, which means the current row is now 3
so the last statement will always write in row 3.
makes sense?

Reply


Messages In This Thread
SetNextRow explanation - by vijayendra.shukla - 02-24-2010, 06:27 PM
RE: SetNextRow explanation - by Saket - 02-25-2010, 11:07 AM
RE: SetNextRow explanation - by vijayendra.shukla - 02-25-2010, 12:12 PM
RE: SetNextRow explanation - by Saket - 02-25-2010, 01:38 PM
RE: SetNextRow explanation - by vijayendra.shukla - 02-25-2010, 04:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Shy SetNextRow is not working in QTP 9.2 Vswarna 1 2,381 09-26-2012, 12:00 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 4 Guest(s)