Assertions

AssertEqual

Validate variable value against an expected value and type of it.

Property Description
Expected Expected value
Variable Value of variable to assert.
Type Type of the value stored in variable. Assertion is done based on the type selected. Currently supported types are
  • String
  • Number - Integer, Double etc
  • Date
AssertIsFalse

Validate variable value by expecting it to be false.

Property Description
Variable Value of variable to assert
AssertIsTrue

Validate variable value by expecting it to be true.

Property Description
Variable Value of variable to assert.
AssertRegex

Assert variable value based on the given regular expression.

Property Description
Variable Value of variable to assert.
Regex Regular expression to assert variable value.
AssertAttribute

This is an action to validate attribute of the given HTML element in web page.

Property Description
XPath Xpath of the given element validated.
Attribute Attribute value to be validated.
Expected Expected attribute value.
AssertInnerText

This is an action to validate inner text of the given HTML element in web page.

Property Description
XPath Xpath of the given element validated.
Expected Expected inner text value.
AssertStyle

This is an action to validate style of the given HTML element in web page.

Property Description
XPath Xpath of the given element validated.
Style Style value to be validated.
Expected Expected style value.