Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on How do QTP access the cell values in an excel file located in QC. within the QTP forums, part of the Software Testing category; Hi Is it possible to retrieve cell value directly from .xls file located in Quality Center using QTP. I do not want to import the excel file rather need to ...
|
|||||||
|
|||
|
How do QTP access the cell values in an excel file located in QC.
Hi
Is it possible to retrieve cell value directly from .xls file located in Quality Center using QTP. I do not want to import the excel file rather need to fetch the cell values directly. e.g Set objexl = Createobject ("Excel.Application") set wbook = objexl.workbooks.open "path of excel file" set wsheet = objexl.worksheets(1) value=wsheet.cells(1,2).value This code will fetch the cell(1,2) value, when i access local excel sheet ie. located at a given path in my system. Now the scenario is that the excel file is located in QC and i need to fetch the cell values in a same way as above using QTP. Please note i don't need to import an excel file from QC. Thanks Faisal |
| Sponsored Links |
|
|||
|
Re: How do QTP access the cell values in an excel file located in QC.
I have never tried what you have mentioned here, however, there is a way to retrieve the attachment and I can help you with that. You can get the specified data from that file after the attachment has been downloaded. I haven't yet felt the need to try it though; I like to keep things pretty simple.. let me know..
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Read excel values into script without opening excel | nemishdmehta | QTP | 1 | 02-11-2008 07:19 AM |
| Excel File instead of .TSR | simanta.adhikary | QTP | 2 | 12-24-2007 02:37 AM |
| In Action I want to access the formbean values | Geek_Guest | Java | 1 | 08-09-2007 10:14 AM |
| How can I access an excel file which is stored in QC-Test Plan | Geek_Guest | QTP | 0 | 07-18-2007 10:03 AM |
| access Internet from cell phone | JobHelper | Networking | 1 | 06-18-2007 10:04 AM |