Click or drag to resize

FilesHelperCountFiles(String) Method

Framework to automate tests using Selenium WebDriver
Counts the files.

Namespace: Ocaramba.Helpers
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public static int CountFiles(
	string folder
)
Request Example

Parameters

folder  String
The folder.

Return Value

Int32
Number of files in subfolder.
Example
How to use it:
C#
var filesNumber = FilesHelper.CountFiles(this.DriverContext.DownloadFolder);
See Also