09-11-2012, 10:27 AM
Hi Sia Sharma,
Try using Datatable.import "D:\Sheet.xls"
hope it works...
Srikanth
Try using Datatable.import "D:\Sheet.xls"
hope it works...
Srikanth
data table
|
09-11-2012, 10:27 AM
Hi Sia Sharma,
Try using Datatable.import "D:\Sheet.xls" hope it works... Srikanth
09-11-2012, 12:09 PM
Is the sheet u import .xls format only.
Please check that once.. The code looks fine.
09-11-2012, 02:23 PM
(This post was last modified: 09-11-2012, 02:43 PM by sia sharma.)
@ SIBICA : The datasheet is there in the D drive
and I have already shared a screen shot. @shredevi.salagare : yes its in the .xls format Thanks, sia
09-11-2012, 02:31 PM
Exactly,
Again if you are getting errors can you please share the screen shots of error and the excel sheet present in d drive. Regards, Sibi C A
09-11-2012, 02:47 PM
hi,
We need not to pass any arguements when using Datatable.import command.... It can be done with the simple command Datatable.import "D:\Sheet.xls" make sure the file extension is xls not xlsx.And the file is not opened or in access of the other program. Srikanth
09-11-2012, 02:55 PM
I have a doubt from your screenshot..your excel sheet name is "sheet" or "sheet.xls"?? while saving the file how did u save it?
09-11-2012, 03:01 PM
(This post was last modified: 09-11-2012, 03:11 PM by sia sharma.)
a screen shot
The Export operation is working fine ... Only import is giving error... What does it mean not supoorted by formula one?
Have you used any formula in the file that you are importing?? Please note you can not import a formatted file to QTP datatable. Please remove the formulas/Formatting, if any, and try again.
09-11-2012, 03:48 PM
i m not using any formula ...
and i m also not using any formating...
09-11-2012, 07:14 PM
One query, are you having MS excel installed on your system??? Screenshot shows Open office. May be there is the issue. I am not sure though. You can probably check on the system which has excel installed.
Regards, Ankesh |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
data table use | uft_usr | 1 | 2,242 |
06-29-2016, 05:23 PM Last Post: Ankesh |
|
Writing to Run time data table | Neetha | 5 | 12,175 |
08-27-2015, 10:18 AM Last Post: supputuri |
|
Retrieving data from web table | nsuresh316 | 1 | 3,112 |
03-03-2014, 08:29 AM Last Post: basanth27 |
|
How to get data from data table in Ascending order | dipashri | 1 | 3,756 |
01-28-2014, 09:54 PM Last Post: jacosta |
|
Data Table Query | Suma Parimal | 4 | 4,782 |
01-21-2014, 12:50 PM Last Post: Suma Parimal |