Over the course of the project, you might want to update the custom action code to handle more scenarios with the same action. You can modify the custom action code in such cases.
Modify Custom Action Metadata
You can easily update the custom action metadata from Qualitia automation studio.
You cannot update custom action metadata in case the action is used in one or more test cases.
To edit custom action metadata:
- Log on to Qualitia automation studio as a user with Custom Action Developer privileges.
- Navigate to Develop > Custom Actions.
- Search the desired custom action which you want to update.
Custom action details will appear in the right pane. - Click Edit.
- Update Action Name, Description, Function Name, and parameters details based on the requirements.
- Click Save.
Modify Custom Action Code
You can modify existing custom action code using the Eclipse IDE.
- Log on to Qualitia automation studio as a user with Custom Action Developer privileges.
- Navigate to Develop > Custom Actions.
- Search the desired custom action which you want to update.
Custom action details will appear in the right pane. - Click View Code.
The code appears in the different section. - To update the code in the Eclipse IDE, click Edit Code.
The code template with an existing code opens in the Eclipse IDE. - Update the code based on the requirements.
- Build the project and close Eclipse IDE.
Once you close the Eclipse IDE, Qualitia automatically commits the code to the version control system like Bitbucket or SVN (if configured) and makes the code available to other Qualitia project members.