Can you import and export data from XLS and how?

Answer Posted / uday kumar_anem

We can import or export the data from Excel sheet in 2 ways.
1. by using Datatable.import("ExcelFile")
Datatable.export("ExcelFile")
2 Place your mouse over datatable in QTP and right click ->
File -> Import File /Export

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1495


Can anybody post some real time scenario in qtp? please its very urgent.

1797


What are the benefits of quick test pro(qtp)?

554


how will load the object during runtime?

1573


How does quicktest professional identifies the object in the application?

539






How do you configure QTP AND Test director?

1487


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2262


How to find the name of the machine where you are running your automation scripts in qtp?

513


how can we do the frame work in qtp

1593


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1487


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1425


How many types of run modes are there in qtp?

577


When to use descriptive programming?

582


What is the extension of the qtp local repository?

555


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2373