LabelWithValue Methods
Last updated
Last updated
Reads the value in the searchRectangle determined by the label and the relative position using OCR.
The string read in the searchRectangle.
Verifies the dynamic value with OCR, using a rectangle that is determined by the relative position to the static label.
True, if value could be found in the searchRectangle determined by the relative position to the static label.
Waits for the specified value for the time given in waitTime, if waitTime is not set or default, WaitTimeInSeconds is used.
True, if value could be found before the end of waitTime in the defined searchRectangle determined by the relative position to the static label.
Exception
Condition
When the labelWithValue could not be found on the screen.
Parameter
Description
value
Type: String The expected value that is verified.
[actualValue]
Type: String The actual value on the SUT. Will be read from screen if value is not found.
Exception
Condition
When the labelWithValue could not be found on the screen.
Parameter
Description
value
Type: String The expected value that shall be waited for.
actualValue
Type: String The actual value on the SUT. Will be read from screen after the waitTime if value is not found.
waitTime
Type: TimeSpan The time to wait for value.
Exception
Condition
When the labelWithValue could not be found on the screen.