Assert Set

Assert that the value of an entry field matches the given one.
Use this to check the value of an input field, a password field or a text area.

Parameters

wpath
The WPath identifying the entry field (see WPath for a detailed description).
Input Field, Password Field, Text Area
The path is usually the label of the field.
It is possible to use the '*' and the '?' character als wildcards; '*' matches zero or many characters; '?' matches one single character.
It is also possible to define a > separated list of words (with '*' and '?' if needed). Then this command checks the value of the first element after all these words.
If your assertion contains a comma, star, or question mark, precede it with a backslash.
value
The expected value.

Examples

Check the content of an entry field

Check the content of an entry field.

Command Parameter Optional Parameter
assert-set Color blue

Check the content of an entry field using wildcards

Check the content of an entry field using wildcards.

Command Parameter Optional Parameter
assert-set Color b*e