Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding rows to the DataTable
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hello,
I cannot seem to add rows to my Datatable. I am capturing transaction times using the MercuryTimers function then I save the first value along with the column name using the Addparameter function. This all works fine, but I do many iterations and I want to populate the rows of the existing columns not keep adding more columns. Is there a way to do this?

Code:
DataTable.GetSheet("Action1")
DataTable.SetCurrentRow(intIteration)
' here i need something other than addparameter if iteration > 1
DataTable.LocalSheet.AddParameter "LoginPage", loginpageTime
Wend
DataTable.ExportSheet "C:\Automation Data\data\SingleUser.xls", 2
Reply


Messages In This Thread
Adding rows to the DataTable - by bdc - 02-07-2009, 06:56 AM
RE: Adding rows to the DataTable - by bdc - 02-07-2009, 07:10 AM
RE: Adding rows to the DataTable - by newqtp - 02-17-2009, 06:41 AM
RE: Adding rows to the DataTable - by bdc - 02-25-2009, 11:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question adding two conditions into a while statement lotos 4 5,064 11-10-2017, 04:49 AM
Last Post: lotos
  Uft: Adding a property to all ojects into Repository ProTester 0 1,350 06-09-2017, 12:48 AM
Last Post: ProTester
  How to Delete Rows with duplicate values in 1 columns in excel thru QTP. arpan 0 2,803 02-09-2015, 08:47 PM
Last Post: arpan
  adding an object to OR seven 1 2,649 02-17-2014, 02:23 PM
Last Post: basanth27
  How to access webtables without adding into Object Repository ramkumarad 7 9,623 12-30-2013, 07:38 PM
Last Post: Sathiya

Forum Jump:


Users browsing this thread: 2 Guest(s)