Posts: 30
Threads: 14
Joined: Jul 2011
Reputation:
0
08-26-2011, 01:51 PM
Hi,
I have a datatable created for Test Script 1 which contains URLs for the script to run, I want to save this Datatable and import the same to another test script. is this possible. if yes how can i do this?
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
08-26-2011, 05:01 PM
Save ur datatable to .xls file and use it to another test script.
Hope this will resolve ur problem.
If u need code for this please let me know.
Regards,
Sankalp
Posts: 30
Threads: 14
Joined: Jul 2011
Reputation:
0
08-26-2011, 05:24 PM
Is their any option from QTP to save datatable to excel?
DataTable.Import "FilePath" would do right to use it in another test?
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
08-26-2011, 05:46 PM
I don't think that it will work fine.
U have to save the datatable to excel and then import it to any other test.
Correct me if wrong.
Regards,
Sankalp