| FilesHelperGetLastFile(String, FileType) Method |
Framework to automate tests using Selenium WebDriver
Gets the last file of given type.
Namespace: Ocaramba.HelpersAssembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax public static FileInfo GetLastFile(
string folder,
FileType type
)
Request Example
Parameters
- folder String
- The folder.
- type FileType
- The type of file.
Return Value
FileInfoLast file of given type.
Example How to use it:
FilesHelper.GetLastFile(this.DriverContext.ScreenShotFolder, FileType.Png);
See Also