VerifyContains
bool VerifyContains(string actual, string expectedSubstring)Description
Verifies that the actual string contains the specified substring.
Parameters
- actual - The string value retrieved from a UI control.
- expectedSubstring - The substring that must be present.
Example
void main()
{
VerifyContains(GetText("LBL_USER"), "Paul");
}