Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add multiple local datatables to one action?
#3
Solved: 10 Years, 10 Months ago
can i do this? for runtime datatable
Code:
DataTable.AddSheet("12.xls")
DataTable.ImportSheet"C:\Documents and Settings\c-vkanchu\Desktop\12.xls"
If i have to specify parameters, how am i gonna do that
Code:
Datatable. addsheet("12.xls").addparameter("column1", "its value")("column2","its value")
etc
how am i gonna do the above for 10 rows and 10 columns.

also in my script do i have to give like this
Code:
Browser("").Page("").webedit("").Set DataTable("RFCN",dtLocalSheet)
even for runtime datatable data if RFCN is a column in my runtime datatable?

how do i get the rowcount just like the global/local datatable?
Code:
GlobalRowCount=datatable.GetSheet("Global").GetRowCount
ActionRowCount=datatable.GetSheet("Action1").GetRowCount
what would i give in place of Global and Action1??? if its a runtime datatable?

I am new to QTP. so, Please be patient with me

Thanks in advance.
Reply


Messages In This Thread
RE: How to add multiple local datatables to one action? - by sratna - 11-07-2009, 12:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Local System Monitor kbhargava505 0 2,431 10-16-2015, 12:52 PM
Last Post: kbhargava505
  Case changes while reading values from inbuilt datatables krishnakittu03 3 2,765 04-28-2015, 11:34 AM
Last Post: kbhargava505
  How to Create and use local repository Sourabh146 2 2,387 01-28-2014, 10:56 PM
Last Post: jacosta
  how to access Local dataTables in another action within a same script RA185112 5 5,763 07-25-2012, 01:27 PM
Last Post: sshukla12
  Update from Local repository DeeptiNR 4 4,890 04-10-2012, 07:29 AM
Last Post: DeeptiNR

Forum Jump:


Users browsing this thread: 1 Guest(s)