Create, Edit and Delete Custom Action

Creating Custom Action

Step to create Custom Action:

  1. On the Home page, select Design Studio and navigate to Test Case window.

  2. Select Test Case and select desired Test Step Group.

  3. Select any Test Step, open Action dropdown and click + Add Action button. Create Custom Action pop-up window appears.

Note: Custom actions can be created for each element type, including captured elements.

  1. 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.

  1. Select Code Language (JavaScript/Python).

  1. Type code for custom action in Code Editor and select Create Custom Action.

Note: For understanding input and output handling process refer to Handling Input and Output Variables.

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

Editing Custom Action

Edit Custom Action allows to modify the code of the existing custom actions.

Steps to edit custom action in Avo Assure:

  1. On the Home page, select Design Studio and navigate to Test Case window.

  2. Select Test Case and select desired Test Step Group.

  3. Select Element from dropdown then open Action dropdown.

  4. Select Edit icon located in front of Custom Action, Edit Keyword window will be displayed.

  1. 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.

Deleting Custom Action

The Deleting option allows you to remove a custom action from the list of existing actions.

Note: Only Quality Managers with the Admin as secondary role can delete custom actions.

Steps to Delete a Custom Action in Avo Assure:

  1. On the Home page, under Projects, select the required project.

  2. Select Desing Studio and navigate to Testcase tab.

  3. From the Element dropdown, select the required element.

  4. From the Action dropdown, select the required custom action for which you want to delete.

  5. Select the Edit icon located in front of the Custom Action. The Edit Keyword window appears.

  6. Select Delete, and a confirmation popup will appear.

  1. Select Confirm to delete the created custom action.

  1. Selected Custom Action is currently in use, a Cannot Delete Custom Action dialog displays the Project, Impacted Testcases, Impacted Reused Test Step Groups, and Impacted Recovery Test Step Groups where the action is used.

Note:

  • You can Export the details of the impacted Testcases or projects to a CSV file for reference.

  • The Confirm button will remain disabled until the Custom Action is no longer used anywhere.

  • The Cancel button allows you to close the popup without making any changes.

  • The Custom Action cannot be deleted if it is used in any Testcase/Reusable Library/Recovery Test Steps. To delete it, you must first remove it from all associated fields.

Last updated

Was this helpful?