Assertion

Assertion

 

 

Assert Not Value

 

This action is useful to check that the added value is not present at the given locator. In the parameter, the user needs to add locator and value of the locator.

 

Usage

 

 

 

 

 

Command

QAssertNotValue

Descriptive

Assert {loc} value is not {value}

Runtime

WD

Type

ASSERTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator can be a direct locator value or a locator key stored in locator repository.

value

STRING

Value to be assert.

 

 

 

 

 

 

 

Assert Not Text

 

This action is useful to check that the given text is not available on the UI elements on the website and mobile applications.

 

Usage

 

 

 

 

 

Command

QAssertNotText

Descriptive

Assert {loc} text is not {text}

Runtime

WD

Type

ASSERTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator can be a direct locator value or a locator key stored in locator repository.

Text

STRING

Text to be assert.

 

 

 

 

 

 

 

Assert Not Selected

 

This action is useful to verify that the added locator is not selected on the website and application. This action is useful in the drop-downs, checkboxes and radio buttons.

 

 

Usage

 

 

 

 

 

Command

QAssertNotSelected

Descriptive

Assert {loc} is not selected

Runtime

WD

Type

ASSERTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator can be a direct locator value or a locator key stored in locator repository.

 

 

 

 

 

 

 

 

 

 

Assert Value

 

This action is useful to check the presence of any elements in the website and mobile applications. It will show an error if the asserted value is not found. It contains two parameters: locator and the value of that locator.

 

Usage

 

 

 

 

 

Command

QAssertValue

Descriptive

Assert {loc} value is {value}

Runtime

WD

Type

ASSERTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator can be a direct locator value or a locator key stored in locator repository.

value

STRING

Value to be assert.

 

 

 

 

 

 

 

Assert CSS Style

 

This action is useful to compare the element CSS with your value. If the element’s CSS value matches with your value, then the execution resumes.

 

Usage

 

 

 

 

 

Command

qAssertCssStyle

Descriptive

Assert {loc} property {prop} value is {value}

Runtime

WD

Type

ASSERTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator can be a direct locator value or a locator key stored in locator repository.

prop

STRING

Property (css style) to be asserted.

Value

STRING

Value of property (i.e css style property value).

 

 

 

 

 

 

 

Assert Not Visible

 

This assert is useful to verify that the specific object (locator) is not visible on DOM. 

Usage

 

 

 

 

 

Command

QAssertNotVisible

Descriptive

Assert {loc} is not visible

Runtime

WD

Type

ASSERTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator can be a direct locator value or a locator key stored in locator repository.

 

 

 

 

Assert CSS Style Color

 

This action is useful to compare the element style color with your given value. If the element’s style color value matches with your value, then the execution resumes.

 

Usage

 

 

 

 

 

Command

qAssertCssStyleColor

Descriptive

Assert {loc} color {prop} value is {value}

Runtime

WD

Type

ASSERTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator can be a direct locator value or a locator key stored in locator repository.

Prop

STRING

Color property (css style) to be verified.

Value

STRING

Value of color in hex or rgb or rgba.

 

 

 

 

 

 

 

Assert Window Title