ExportToExcelFile method

Relevant for: API testing only

Description

Exports the specified Excel data source from your test to an external file.

Back to top

Class

DataSource

Back to top

Syntax

GetDataSource("<data source>).ExportToExcelFile(@"<path to file>");

Back to top

Parameters

Parameter Description
Path to data source The Windows path to the file for the data source.

Back to top

Return Type

An Excel file in the specified directory.

Back to top

Example

GetDataSource("ConcatenateStrings!Sheet1").ExportToExcelFile(@"C:\Users\brojerem\Documents\UFT One\API Test Resources\File.xls");

Back to top