Verification

Verification

 

Verify Response Status Name

 

This action is useful to verify API response status name. Based on HTTP response status name, the user can verify whether request is successfully completed or not.

 

Usage

 

 

 

 

 

Command

qResponseShouldHaveStatusName

Descriptive

Verify response should have status name {status}

Runtime

WS

Type

VERIFICATION

Support

API

 

 

 

Parameters

Name

Type

Status

Status

String

Status String for Example: OK, CREATED.

 

Verify Response Value At XPath

 

This action is useful to verify response value at XPath. It will take 2 parameters: value and XPath for the verification.

 

Usage

 

 

 

 

 

Command

QResponseShouldHaveValueAtXpath

Descriptive

Verify response should have {value} at {xpath}

Runtime

WS

Type

VERIFICATION

Support

API

 

 

 

Parameters

Name

Type

Details

value

String

Expected Value.

Xpath

String

Valid XPath

 

Verify Not CSS Style Color

 

This action is useful to verify not CSS Style color. It will take 3 parameters: locators, CSS property and value of the color.

 

Usage

 

 

 

 

 

Command

qVerifyNotCssStyleColor

Descriptive

Verify {loc} color {prop} value is not {value}

Runtime

WD

Type

VERIFICATION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

loc

LOCATOR

An element locator, can be 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

 

Verify Response Value Less Than At JSON Path

 

This action is useful to verify that the given response value should be less than at JSON Path. In this example, the added price is 500 and in the response JSON Path, the price value should be less than 500.

 

Usage

 

 

 

 

 

Command

QResponseShouldLessThan

Descriptive

Verify response should be less than {value} at {jsonpath}

Runtime

WS

Type

VERIFICATION

Support

API

 

 

 

Parameters

Name

Type

Details

value

NUMBER

Expected Value

Jsonpath

STRING

Valid JSON Path

 

 

 

 

 

 

 

Make API Request with Data

 

This action is useful to make an API request using the data. In the command, the user needs to pass the request API along with data to get proper response.

 

Usage

 

 

 

 

 

Command

QApiRequestWithData

Descriptive

Make api call for {request} with {data}

Runtime

WS

Type

ACTION

Support

API

 

 

 

Parameters

Name

Type

Details

request

STRING

Key or Map

Data

STRING

Data set of key value pair

 

Verify Response Value Not At XPath

 

This action is useful to verify that the response should not have value at XPath. It has 2 parameters: expected response value and XPath value.  Given value should not be present at the given XPath.

 

Usage

 

 

 

 

 

Command

QResponseShouldNotHaveValueAtXpath

Descriptive

Verify response should not have {value} at {xpath}

Runtime

WS

Type

VERIFICATION

Support

API

 

 

 

Parameters

Name

Type

Details

Value

STRING

Expected Value

Xpath

STRING

Valid XPath

 

 

 

 

 

 

 

Verify CSS Class

 

This action is useful to verify CSS Class of any Website and Mobile Application. Users need to enter locator name and CSS class name of particular element.

 

Usage

 

 

 

 

 

Command

QVerifyCssClass

Descriptive

Verify {loc} css class name is {className}

Runtime

WD

Type

VERIFICATION

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.

ClassName

STRING

CSS class name to be verified.

 

 

 

 

 

 

 

Verify Not Selected

 

This action is useful to verify that the added locator is not be selected in the website and application. This action is useful in the dropdowns, checkboxes and radio buttons.

 

Usage

 

 

 

 

 

Command

QVerifyNotSelected

Descriptive

Verify {loc} is not selected

Runtime

WD

Type

VERIFICATION

Support

Web & Mobile