Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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.

(info) You cannot update custom action metadata in case the action is used in one or more tasks\test cases.

To edit custom action metadata:

  1. Log on to Qualitia automation studio.
  2. Navigate to Develop > Custom Actions.
  3. Search the desired custom action which you want to update.
    Custom action details will appear in the right pane.
  4. Click Edit.
  5. Update Action Name, Description, Function Name, and parameters details based on the requirements.
  6. Click Save and Launch Editor.

    You cannot add or remove parameters from unused cutsom action in Qualitia client. As a workaround, you can add or remove paramters in the funcation of associated VBS file, and remap this function to the custom action from Qualitia client.

Modify Custom Action Code

You can modify existing custom action code using the Eclipse IDE.

While editing, it is strongly recommended to view and edit custom actions code from Qualitia Automation Studio only. In case you want to edit multiple custom actions, you must launch the code for each action differently from the automation studio. Modifying multiple actions in a single go may put you in conflicting situations which are difficult to handle.

  1. Log on to Qualitia automation studio as a user with Custom Action Developer privileges.
  2. Navigate to Develop > Custom Actions.
  3. Search the desired custom action which you want to update.
    Custom action details will appear in the right pane.
  4. Click View Code.
    The code appears in the different section.
  5. To update the code in the Eclipse IDE, click Edit Code.
    The code template with an existing code opens in the Eclipse IDE.
  6. Update the code based on the requirements.
  7. 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.

  • No labels