ExportToExcelFile method
Relevant for: API testing only
Description
Exports the specified Excel data source from your test to an external file.
Class
DataSource
Syntax
GetDataSource("<data source>).ExportToExcelFile(@"<path to file>");
Parameters
Parameter | Description |
---|---|
Path to data source | The Windows path to the file for the data source. |
Return Type
An Excel file in the specified directory.
Example
GetDataSource("ConcatenateStrings!Sheet1").ExportToExcelFile(@"C:\Users\brojerem\Documents\UFT One\API Test Resources\File.xls");