| FilesHelperGetFilesOfGivenType(String, FileType, String) Method |
Framework to automate tests using Selenium WebDriver
Gets the files of given type, use postfixFilesName in search pattern.
Namespace: Ocaramba.HelpersAssembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax public static ICollection<FileInfo> GetFilesOfGivenType(
string folder,
FileType type,
string postfixFilesName
)
Request Example
Parameters
- folder String
- The folder.
- type FileType
- The type of files.
- postfixFilesName String
- Postfix name of files for search pattern.
Return Value
ICollectionFileInfo
Collection of files.
Example How to use it:
var files = GetFilesOfGivenType(folder, FileType.Txt, "live");
See Also