11-07-2009, 12:31 AM
can i do this? for runtime datatable
If i have to specify parameters, how am i gonna do that
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
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?
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.
Code:
DataTable.AddSheet("12.xls")
DataTable.ImportSheet"C:\Documents and Settings\c-vkanchu\Desktop\12.xls"
Code:
Datatable. addsheet("12.xls").addparameter("column1", "its value")("column2","its value")
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)
how do i get the rowcount just like the global/local datatable?
Code:
GlobalRowCount=datatable.GetSheet("Global").GetRowCount
ActionRowCount=datatable.GetSheet("Action1").GetRowCount
I am new to QTP. so, Please be patient with me
Thanks in advance.