09-01-2009, 11:07 AM
Hi
Here I am facing issue im importing a excel sheet to the new Runtime datatable sheet.
Here is the detailed information with script
1) Testcases.xls contains two sheets....
2) Opened the blank QTP test
3) Imported the Testcases.xls file to the QTP using the script: Datatable.import "C:\Testcases.xls"
4) Added one more sheet to the runtime datatable using the DataTable.AddSheet "Sheet1"
Now we have three sheets in the Runtime Datatable(one is Global, second one is Action 1 and 3rd one is Sheet1)
5) Tried to import sheet to the QTP Runtime Datatable uisng the script
DataTable.importSheet "C:\DataTable.xls",1,3
Here is the problem, i am not able to proceed further...I don't know why it is giving problem.
Other information is : i am using the QTP10.0 and Licensed version.
Please help to solve this one.
Regards
Mani
Here I am facing issue im importing a excel sheet to the new Runtime datatable sheet.
Here is the detailed information with script
1) Testcases.xls contains two sheets....
2) Opened the blank QTP test
3) Imported the Testcases.xls file to the QTP using the script: Datatable.import "C:\Testcases.xls"
4) Added one more sheet to the runtime datatable using the DataTable.AddSheet "Sheet1"
Now we have three sheets in the Runtime Datatable(one is Global, second one is Action 1 and 3rd one is Sheet1)
5) Tried to import sheet to the QTP Runtime Datatable uisng the script
DataTable.importSheet "C:\DataTable.xls",1,3
Here is the problem, i am not able to proceed further...I don't know why it is giving problem.
Other information is : i am using the QTP10.0 and Licensed version.
Please help to solve this one.
Regards
Mani