Action

Action

 

Open 

This action is useful to open a new browser and mobile application. It will take one argument for URL to navigate. It accepts static URL as an argument. You can specify “/” or “empty” to fetch default URL or app path specified in your profile.

Usage

 

Command

qGet

Descriptive

Open {url}

Runtime

WD

Type

Action

Support

Web & Mobile

 

Parameters

Name

Type

Details

url

String

Specify your application under test web URL or “/” to get URL from the profile. For mobile platform, specify “/” to launch the application configured in your profile.

 

Get Response Body To Variable

This action is useful to fetch the earlier response body, which users get through API calling, and put it into to the variable so it can be used for further steps.

Usage

 

Command

qGetResponseBodyTo

Descriptive

Get response body {jsonpath} to {var}

Runtime

WS

Type

ACTION

Support

API

 

Parameters

Name

Type

Details

jsonpath

STRING

Valid JSON Path

Var

OUTPUT

Output Variable

 

Make API Request with Data

This action is useful to make an API request using the data. In the command, users need to pass the request API along with the 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

 

Execute JavaScript With 2 Arguments

This action will execute java script with 2 arguments and store result into a variable. It will take four arguments: a javascript function, 2 arguments to be passed in the function and a var, which stores the value returned by the javascript function. 

Usage

 

Command

qExecuteJavaScriptWith2Arg

Descriptive

Execute {jsScript} with {arg1} , {arg2} and store result into {var}

Runtime

WD

Type

ACTION

Support

Web & Mobile

 

Parameters

Name

Type

Details

JsScript

STRING

Valid javascript code snippet

arg1

STRING

The arguments to the script

arg2

STRING

The arguments to the script

Var

OUTPUT

The variable name to store the result.

 

Delete All Cookies

This action is useful to delete all the existing cookies of any website and mobile application.

Usage

 

Command

QDeleteAllCookies

Descriptive

Delete all cookies

Runtime

WD

Type

ACTION

Support

Web & Mobile

 

Parameters

Name

Type

Details

 

 

 

 

Execute JavaScript With Element

This action is useful to execute any element with JavaScript. In the parameter, users need to enter the operation which they want to perform along with the locator value. In the below example, JavaScript syntax will click on the element which is written in the locator value.

Usage

 

Command

qExecuteJavaScriptWithElement

Descriptive

Execute {jsScript} with {loc} and store result into {var}

Runtime

WD

Type

ACTION

Support

Web & Mobile

 

Parameters

Name

Type

Details

jsScript

STRING

Valid javascript code snippet

loc

LOCATOR

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

Var

OUTPUT

The variable name to store the result.

 

Window Scroll Down To Bottom

This action is useful to scroll down the website or application page to the bottom. By adding this command, page will automatically scroll from up to the bottom.

Usage

 

Command

QWindowScrollDownToBottom

Descriptive

Window scroll down to bottom of the page

Runtime

WD

Type

ACTION

Support

Web & Mobile

 

 

 

Parameters

Name

Type

Details

 

Close

This action is useful to close the open window and mobile application. It contains no parameters.

Usage

 

Command

QWindowScrollDownToBottom

Descriptive

Close

Runtime

WD

Type

ACTION

Support

Web & Mobile

 

Parameters

Name

Type

Details

 

Swipe Up

This action is useful in the mobile application to swipe up any screen or page. It contains no parameters.

Usage

 

Command

qMobileSwipeUp

Descriptive

Swipe Up

Runtime

WD

Type

ACTION

Support

Mobile

 

Parameters

Name

Type

Details

 

Long Press On

This action is useful in the mobile application to long press in specific coordinate.

Usage

 

Command

QMobileLongPress

Descriptive

Long press on {x} , {y} in {time}

Runtime

MD

Type

ACTION

Support

Mobile

 

Parameters

Name

Type

Details

X

NUMBER

X Position

Y

NUMBER

Y Position

Time

NUMBER

The maximum time (in milliseconds) that the event will wait.

 

Get Radio Option Attribute Value

This action is useful to select a radio option using attribute by group.

Usage

 

Command

qGetRadioOptionAttrByGroup

Descriptive

Get radio {attr} of {group} and store value into {var}

Runtime

WD

Type

ACTION

Support

Web & Mobile

 

Parameters

Name

Type

Details

Attr

STRING

Attribute to be checked in the given element.

group

STRING

Group name which contains the radio item, value of @name attribute of radio group.

Var

OUTPUT