| || |
Unable to open Excel file
i used <font class="small">Code:</font><hr /><pre> Utilities.FileOpen("C:\Test.xls", 2) </pre><hr />
to open an excel file..but it is returning -1 and the file is not opening
Thanks in Advance
Re: Unable to open Excel file
The FileOpen method is used to work with text files. If you want to read an Excel document, you need to either use DDT (see the "Data-Driven Testing" help topic) or work with Excel via COM. If you want to write values to an Excel document, COM is the only option.