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: 4.2.8+a9b8573c8e7a79d20d13aab3058972497cab0398
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: FilesHelper.GetLastFile(this.DriverContext.ScreenShotFolder, FileType.Png);
See Also