How can we import a Open Office excel file in QTP

Answers were Sorted based on User's Feedback



How can we import a Open Office excel file in QTP..

Answer / ganesh raj

Set excelObj = getObject(, "excel.Application")
Set openExcelWB = excelObj.ActiveWorkbook()
exPath = openExcelWB.path
openExcelWB.close
excelObj.quit
excelObj = nothing

Data table.Import exPath

Is This Answer Correct ?    0 Yes 0 No

How can we import a Open Office excel file in QTP..

Answer / udham singh

u cannot work on any excel sheet in QTP if it is already opened.first u should close the excel sheet then only u can import it 2 QTP and can perform other operations by QTP.

Is This Answer Correct ?    0 Yes 2 No

How can we import a Open Office excel file in QTP..

Answer / lakshman

we have cammend fot these

Datatable.import"path of the excelfile"

Is This Answer Correct ?    1 Yes 5 No

How can we import a Open Office excel file in QTP..

Answer / prem

1)Activate the menu item view-->select the option datatable
2)right click on datatable file-->import from file click ok
3)select the desired excel file from location
4)click on open

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More QTP Interview Questions

a title of first page is "LKO- microsoft internet explorer", of the second page is "PPM- microsoft internet explorer" , of Third page is "TTS- microsoft internet explorer" and same changing title on the fourth page. How can we use regular expression for this feature what should we do on script part on and Object repository part so that we can get successful run result. Kindly explain the steps script.

2 Answers  


I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm?

3 Answers   TCS,


How to check bitmap output value?

0 Answers  


How to create runtime property for an object?

7 Answers  


Does quicktest professional is unicode compatible?

0 Answers  


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

0 Answers   IBM,


how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes

4 Answers   STC,


wt is memory leakage?

6 Answers   BSL,


w is time parameter

1 Answers   Syntel,


How many tables r created during the recording in QTP?

2 Answers  


Where can I find and view run-time data table?

0 Answers  


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

0 Answers  


Categories