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

I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?

5 Answers   Rogers,


Are u place all QTP Framework folders in VSS?

4 Answers   TCS,


How to extract the data in the below scenario and dump it in the excel? Link1 Link2 Link3 Link4 numberlink1 text text text numberlink2 text text text numberlink3 text text text numberlink4 text text text So, Here is my question? -- It is a matrix but is not a web table(QTP does not recognize it as a web table) -- Link1, link2 and link3 are links under which text is available -- numberlink1 to numberlink4 are again LINKS -- All the others displayed are text only I want to extract the data in the above scenario and dump it into an excel in the same scenario as it is displayed above. Kindly help.. Thank you

0 Answers  


how will we run batch tests in qtp what is the process to run the multiple test sets?

3 Answers  


Explain how to use QTP to check broken links on a page?

0 Answers  






WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN?

21 Answers   ABM, AZTEC, CTS, Infosys, Nihilent, Orange,


What is the QTP test frame work?

3 Answers   IBM,


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

0 Answers   Magna Infotech, Oracle,


I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.

1 Answers  


what is the difference between invoke application and system.util.run

24 Answers   HP, Syntel,


WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?

2 Answers  


How to get data line by line from web element

2 Answers  


Categories