Add your own Actions using custom user action library

Custom User Action Library is a feature in VTAP which will allow user to develop and add their custom actions into VTAP.

User Action Development

You can download UserActionDevelopmentSuite.zip from VTAP which contain all the libraries, documents and sample application for user action development. Follow below steps to download and use this suite.

  1. Click on Manage > User Libraries

  2. Click on Download Sample Reference Project link

  3. Unzip UserActionDevelopmentSuite.zip file that you downloaded

  4. Follow the document UserActionDevelopmentGuide for action development..

Add User Action to VTAP Project

In order to add your user actions into VTAP project you need to zip your build first and follow the steps

  1. Select the project

  2. Click on Manage > User Libraries

  3. Click on Add New User Library

  4. Enter Name e.g LengthConverter

  5. Enter Description e.g This library is used to covert length to different units.

  6. Enter Prefix e.g Converter

  7. Click on Choose file button and select your zip file.

  8. Click on Next button

Follow below steps in next page

  1. Select Main Library e.g UnitOfLength.dll

  2. Click on Next button

Follow below steps in next page

  1. All actions for the user library will be shown in the page

  2. Click on OK

Added user library will be shown in User Library grid view

Use User Action in Testcase

You can add user actions into testcase same as default action.

  1. Open a testcase.

  2. Double click on Action Name cell to open all actions in list view.

  3. Search and select user action to add into grid.