|
|
|
|
Whether xlsx extension works while importing data sheet?
|
|
09-29-2008, 07:07 AM
(This post was last modified: 09-30-2008 12:53 PM by Ankur.)
Post: #1
|
|||
|
|||
|
Whether xlsx extension works while importing data sheet?
Hi, When I am trying to import Excel sheets its allowing sheets of file with .xls extention. When I selected files with .xlsx extention its throwing error saying "Invalid file" My OS is Vista with QTP 9.2. Is there any constrant on the file extension? Thanks, Akhila |
|||
|
09-30-2008, 02:19 AM
Post: #2
|
|||
|
|||
|
RE: Importing data sheet format?
Yes it is
The .xlsx format is not supported by QTP 9.5. Try saving the excel 2007 spreadsheet as .xls and do the import Regards kishore |
|||
|
09-30-2008, 06:26 AM
Post: #3
|
|||
|
|||
|
RE: Importing data sheet format?
Thanks! Its working after changing the extension to .xls
Akhila |
|||
|
01-22-2010, 09:11 PM
(This post was last modified: 01-22-2010 09:13 PM by bfakruddin.)
Post: #4
|
|||
|
|||
|
RE: Whether xlsx extension works while importing data sheet?
Hi All,
I am Using QTP 9.5 in Windows 7, and Windows XP. It is accepting .xlsx files without any error. if any issues. Please let me know. Hi All, I am Using QTP 9.5 in Windows 7, and Windows XP. It is accepting .xlsx files without any error. if any issues. Please let me know. D.Baba Fakruddin |
|||
|
01-25-2010, 10:37 AM
Post: #5
|
|||
|
|||
|
RE: Whether xlsx extension works while importing data sheet?
Hey Baba,
How did you managed to get it working? I just tried it and it does not seem to be working. Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
03-04-2010, 01:10 PM
Post: #6
|
|||
|
|||
|
RE: Whether xlsx extension works while importing data sheet?
According to me, no version of QTP (including 10.0) would recognize the new MS-Office extensions(.docx, .xlsx etc.).
QTP only recognizes .xls, .doc etc. as in the MS-Office 97-2003. I am not too sure, but from the situation presented by Baba, it appears that Windows 7 may have some settings (that should have been in place, accidentally or o.w) that can do auto backward compatibility of say .XLSX to .XLS. Some R & D on Windows 7 can be of help. - Cheers!! -I.L |
|||
|
03-12-2010, 03:27 PM
Post: #7
|
|||
|
|||
|
RE: Whether xlsx extension works while importing data sheet?
Just use below code.. and provide your desired path and run...
make sure that excel file have extension .xlsx dim xl set xl=createobject("excel.application") xl.visible=true xl.workbooks.open("E:\Baba_QTP\QTP\Data\a.xlsx") set xl=nothing D.Baba Fakruddin |
|||
|
03-12-2010, 03:35 PM
Post: #8
|
|||
|
|||
|
RE: Whether xlsx extension works while importing data sheet?
hey Fakruddin,
you missed the original query, its not about opening an xlsx file, its about importing the sheet to datatable ![]() which is not supported in QTP yet. try this in QTP Code: Datatable.importsheet("E:\Baba_QTP\QTP\Data\a.xlsx","Sheet1","Action1")you can also try setting the same file as datatable in Setting>Resources let us know if any of this works. Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
06-18-2010, 03:00 PM
Post: #9
|
|||
|
|||
|
RE: Whether xlsx extension works while importing data sheet?
This is a great post. I like this topic.This site has lots of advantage. I found many interesting things from this site. It helps me many away..So i want some information for sharing this side with some of my friend. Thanks
|
|||
|
06-18-2010, 05:04 PM
Post: #10
|
|||
|
|||
|
RE: Whether xlsx extension works while importing data sheet?
ghdfans2010 -Many thanks for your appreciation but I dont think anyone would like to see your hair straighteners here. we all get our hair straighten automatically when at work automating different applications
Signature Included external Links which were not relevent for QTP/Testing [Removed Signature from your profile - Saket] everyone - Promotional/External links are not allowed here. Make sure you are posting contents which are relevent to QTP or atleast for testing. Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| QTP Gloabl Data Sheet Issue | KapilArora | 2 | 164 |
04-26-2012 05:00 PM Last Post: Ankesh |
|
| Importing Data Sheet | toe76 | 3 | 318 |
03-09-2012 04:51 PM Last Post: vinod123 |
|
| QTP not performing iterations based on local data sheet | Breaker | 7 | 7,224 |
01-18-2012 12:30 AM Last Post: zivit_i14 |
|
| importing excel file and run on all iterations | vineet.k | 1 | 1,305 |
05-23-2011 01:49 PM Last Post: Anand |
|
| Importing Excel sheet - Reference Values are not recognized | michiusa69 | 3 | 1,362 |
05-13-2011 08:50 PM Last Post: supputuri |
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help





