Assertions


Here is the list of pre-learned assertion words and their synonyms.

contain

To assert that the specified select element contains the specified value.

Synonyms of contain : hold, carry, put, keep, in

Then "Colors" contains "Blue"
Then "Auto drive" is not in "Options"

check, uncheck

To assert that the specified checkbox is checked / unchecked.

Then "Extra Cheese" is checked
Then "Extra Bacon" is unchecked

visible

To assert that the specified element is visible.

Synonym of visible : displayed

Then "Welcome in Paris" is displayed
Then "Options" is not visible

enable

To assert that the specified element is enable.

Then "Options" is enabled

select, deselect

To asserts that the specified value of the specified select element is selected / deselected.

Then "Blue" is selected as "Colors"
Then "Auto drive" is deselected from "Options"