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

when to start the automation?

2 Answers   Accenture,


Explain types of descriptive programming?

0 Answers  


Define object spy ?

0 Answers  


Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..

0 Answers  


what are the files created after executing QTP script file, please specify the file names with extensions

1 Answers   Virtusa,






my assignment is,how can i differentiate between readed & unreaded mails in my inbox ?, since for both readed & unreaded having same properties for both test objects &run time objects

2 Answers  


Tell some commonly used Excel VBA functions?

0 Answers  


Explain the concept of object repository and how QTP recognizes objects?

0 Answers  


How will u integrate oracel with QTP?

2 Answers   Microsoft,


can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance

2 Answers  


How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared

4 Answers   Tavant Technologies,


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

0 Answers  


Categories