Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetNextRow explanation
#1
Solved: 11 Years, 4 Months ago Rolleyes 
Hi,
Code:
DataTable("MyCol","Action1")=123456
row=DataTable.GetSheet("Action1").getCurrentRow
DataTable.SetCurrentRow(row+1)
DataTable.GetSheet("Action1").SetNextRow
DataTable("MyCol","Action1")=1255

when i run this code 1255 is getting written in 3rd row of Action1 datasheet. But when i run this code step by step (F10), 1255 is getting written in 2nd row of the Action1 datasheet.

Can anyone explain me why this is happening????
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: 3 Guest(s)