I want to export datatable into Text file.
when i was trying to export Dtable using
Datatable.export"Target file path"
It's giving some unknown characters.
Is there any syntax for exporting datatable into txt file.
pls Help me out
The export command will export the runtime datatable to an xls file and not a txt file(atleast to my understanding)
So if you want to export to text file then you got create your file and export the cell values.
Look up help for "fso" file system objects
-- Here to Learn and share ---
You cannt do that use the "export" which used to Save a copy of the run-time Data Table in the specified location.
As Jonty say,the file must be an xls . I can ensure it!
You can export to a excel file and then may be use some code to convert it to CSV or text
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **