Instructions
...
BQ allows its users to create their own action keywords as per your requirement. The action keywords created by the user are known as custom actions.
Step by step guide to create a custom action :
Navigate to Custom Actions by clicking on Design > Custom Actions.
Click on Add Action button.
Design / Custom Actions form will be displayed.Enter the meta data for :
Action Name : Name of the custom action to be created
Language Name : Select JavaScript / Groovy from dropdown list
Keyword Type : Select from the dropdown list
Type : Select UI / API from the dropdown list
Description : Enter the custom action description
Expected : Enter the custom action’s expected result
Select the checkbox(s) for Optional / Mandatory for that param.
Enter the parameter name for the custom action under Parameter column.
Click on Save.
Click on Source Tab.
Write the code for the desired custom action under the try-catch block
Click on Save.
Info |
---|
Once you create and save the custom action, it's ready to be used in the test case. |
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
hidden | true |
---|
...