Click or drag to resize

FilesHelperDeleteFile Method

Framework to automate tests using Selenium WebDriver
Delete file in given folder if exists.

Namespace: Ocaramba.Helpers
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 4.2.8+a9b8573c8e7a79d20d13aab3058972497cab0398
Syntax
C#
public static void DeleteFile(
	string name,
	string subFolder
)
Request Example

Parameters

name  String
The name of file.
subFolder  String
The subFolder.
Example
How to use it: FilesHelper.DeleteFile("filename.txt", this.DriverContext.DownloadFolder);
See Also