Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

To edit custom action metadata:

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


    Info

    For desktop project custom action developed in VB, you cannot add or remove parameters from the mapped function for an unused cutsom action from Qualitia client.  To work around this issue, launch the associated VBS file from Qualitia client, add or remove parameters for the mapped function, and remap the function to the custom action from Custom Action window.


...

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

Info

Ensure that your associated role is assigned with Custom Actions privileges.

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 From the Expand Menu, click Develop.
  4. Click the Custom Actions tab.
  5. In the left pane, select the desired custom action which you want to update.
    Custom action details will appear in the right pane.
  6. Click View Code.
    The code appears in the different section.
  7. To update the code in the Eclipse IDE, click Edit Code.
    The code template with an existing code opens in the Eclipse IDE.
  8. Update the code based on the requirements.
  9. 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.

...