Create and Edit Custom Action
Step to create Custom Action:
Navigate to Test Case Tab
Click Design Studio button and navigate to Test Case window
Select Test Case and Test Step Group from left pane of window
Select any Test Step, open Action dropdown and click +Add Action button then Create Custom Action pop up window will appear

Note: Custom actions can be created for each element type, including captured elements.
Enter Name for action, enter Description of action and add Input syntax (Optional) of the action.
Note:
The Name and Description cannot be edited once the custom action is created.
The following guidelines apply when providing the input syntax while creating a Custom Action.
Input Syntax Behavior in Avo Assure
Each Custom Action exposes an input field in the Test Step of a Test Case where users can enter:
Literal values (like strings or numbers)
Test data references
Output values from previous steps
STATIC STRING INPUT
Literal/String
"YourValue" (in quotes)
"AdminUser"
NUMERIC INPUT
Literal
Number (no quotes)
12345
OUTPUT OF PREVIOUS STEP
Dynamic (Chained)
{outputParamName}
{temPath}

Select Code Language (JavaScript/Python)

Type code for custom action in Code Editor and click Create Custom Action button

Note: The parameter passed in the input syntax field should match the parameters passed in the code snippet.

Edit Custom Action
Edit Custom Action allows to modify the code of the existing custom actions.
Steps to edit custom action in Avo Assure:
Navigate to Test Case window
Select Element from dropdown then open Action dropdown
Click Edit icon located in front of Custom Action, Edit Keyword window will be displayed

4. Edit the code from Code Editor field according to requirement and click Save Changes button.

Note: The name and description cannot be edited once the custom action is created.
Last updated
Was this helpful?