Click or drag to resize

FilesHelperGetLastFile(String, FileType) Method

Framework to automate tests using Selenium WebDriver
Gets the last file of given type.

Namespace: Ocaramba.Helpers
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public static FileInfo GetLastFile(
	string folder,
	FileType type
)
Request Example

Parameters

folder  String
The folder.
type  FileType
The type of file.

Return Value

FileInfo
Last file of given type.
Example
How to use it:
C#
FilesHelper.GetLastFile(this.DriverContext.ScreenShotFolder, FileType.Png);
See Also