VerifyEmpty
bool VerifyEmpty(string actual)Description
Verifies that the given string is empty.
Shortcut for VerifyEqual(actual, "").
Logs a PASS message if the string is empty, a FAIL message otherwise.
Parameter
- actual - The string to check.
Returns
true if the string is empty, false otherwise.
Example
void main()
{
string s = GetText("EDIT_RESULT");
VerifyEmpty(s); // PASS if s == ""
VerifyEmpty(""); // PASS
VerifyEmpty("hello"); // FAIL
}