Back to QMetry All Products Help Page
Action
- 1 Open
- 2 Get Response Body To Variable
- 3 Make API Request with Data
- 4 Execute JavaScript With 2 Arguments
- 5 Delete All Cookies
- 6 Execute JavaScript With Element
- 7 Window Scroll Down To Bottom
- 8 Close
- 9 Swipe Up
- 10 Long Press On
- 11 Get Radio Option Attribute Value
- 12 Switch To ContextName
- 13 Swipe (Coordinates)
- 14 Drag & Drop (Web)
- 15 Swipe Right
- 16 Select Radio Option (By Group)
- 17 Get CheckBox Option Attribute Value
- 18 Select Radio Option (By Attribute)
- 19 Select List Option (By VisibleText)
- 20 Switch Window
- 21 Get Response Header To Variable
- 22 Get Text
- 23 Swipe Down
- 24 Clear
- 25 Get All Selected CheckBox Options (By Group)
- 26 Get Attribute
- 27 Select CheckBox Option (By Group)
- 28 Add Basic Authentication To API Client
- 29 Get Selected CheckBox Option (By Group)
- 30 Add Cookie
- 31 Window Scroll By
- 32 Scroll To Element
- 33 Type
- 34 Download File From Active Window Screenshot
- 35 Check Platform Is Android
- 36 Switch To Frame
- 37 Drag & Drop (Mobile Coordinates)
- 38 Switch Driver
- 39 Store Last Result
- 40 Switch To DefaultWindow
- 41 Execute JavaScript With 1 Argument
- 42 Window Scroll Until Element
- 43 Select List Option (By Value)
- 44 Execute JavaScript
- 45 Get Platform Name
- 46 Drag & Drop (Mobile Elements)
- 47 Click
- 48 Window Scroll Up To Top
- 49 Swipe Left
- 50 Get Value At JSON Path To Variable
- 51 Switch To Parent Frame
- 52 Select List Option (By Index)
- 53 Store
- 54 Set Attribute
- 55 Select CheckBox Option (By Attribute)
- 56 Delete Cookie
- 57 Submit
- 58 Download File From API Request
- 59 Make API Request
- 60 Execute JavaScript With 3 Arguments
- 61 Get Value At XPath To Variable
- 62 Tap On
- 63 Mouse Over
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 | |