Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I save a DataTablefrom one test and import the same to another Test
#1
Solved: 10 Years, 9 Months ago
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?
Reply
#2
Solved: 10 Years, 9 Months ago
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
Reply
#3
Solved: 10 Years, 9 Months ago
Is their any option from QTP to save datatable to excel?

DataTable.Import "FilePath" would do right to use it in another test?
Reply
#4
Solved: 10 Years, 9 Months ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to test if application logout randomly ab4abhisek 1 1,263 09-25-2018, 03:11 PM
Last Post: Ankur
  Attaching Data source to UFT API test kul20 1 1,877 07-15-2018, 06:11 PM
Last Post: Ankur
  Test fails as soon as IE browser opens Saavi 1 923 05-24-2018, 09:49 PM
Last Post: Ankur
  DataTable Import or Excel Object Automation_learner 1 1,554 11-15-2017, 03:56 PM
Last Post: Ankur
  PDF Automation using Adobe PDF Test Tool Kit. PremShanmugam 0 1,669 01-21-2017, 01:49 AM
Last Post: PremShanmugam

Forum Jump:


Users browsing this thread: 2 Guest(s)