VerifyEqual
bool VerifyEqual(any actual, any expected)Description
Verifies that the actual value is equal to the expected value.
This is a strongly typed comparison and works with strings, numbers, and booleans.
Parameters
- actual - The value retrieved from a UI control or variable.
- expected - The expected value to compare against.
Example
void main()
{
VerifyEqual(GetText("LBL_STATUS"), "Ready");
VerifyEqual(IsEnabled("BTN_LOGIN"), true);
}