Keyword Management

Opkey Tools menu has Keyword Management as the sub-menu that helps the user to check the list of available custom keywords, add & manage libraries, add custom Keywords, and modify Existing Keywords.


Features under Keyword Management

  1. Overview of Custom Keywords: Gain a comprehensive overview of all custom keywords created within your Opkey project. This centralized view provides easy access to the entire library of custom actions and functionalities.
  2. Library Management: Efficiently organize custom keywords by creating and managing libraries. Libraries serve as containers for grouping related keywords, promoting a structured and easily navigable repository.
  3. Adding Custom Keywords: Seamlessly extend the capabilities of your test automation suite by adding custom keywords tailored to specific test scenarios. Custom keywords encapsulate unique functionalities or sequences of actions, enhancing the reusability of test steps.

  4. Modifying Existing Keywords: Maintain agility in your test automation framework by modifying existing keywords as per evolving requirements. Whether it's updating actions, refining logic, or enhancing functionality, Opkey enables straightforward modifications.



  • Go to the Tools menu > Click Keyword Management.


  • Manage Libraries tab is selected by default.


  • Getting Familiar with the icons of Manage Libraries:



  • Click Upload .jar and .vbs files icon > Browse and select your .jar or .vbs file to be uploaded.



Note: The .jar/.vbs files contain code of the specific custom keyword. For adding a new custom keyword, you may need to upload more than one .jar or .vbs files. A single uploaded .jar/.vbs file may contain code for more than one custom keyword. It depends on the behavior of the custom keyword to be added.

note

Here are some special characters that are not allowed to be used in the name of files to be uploaded in Keyword Management. These special characters are !, -, _, ., *, ‘, (, and ). Moreover, here are some other characters which should be avoided in file names; they are \, {, Non-printable ASCII characters (128–255 decimal characters), ^, }, %, /, `, ], >, [, ~, <, #, |, and *.

  • Now, go to the Custom Keywords tab of the Keyword Management window > click on Add new keyword.


  • Add New Custom Keyword wizard opens as follows.
  • Fill all the required details (Name, Plugin, Associated Method, Output Type & Comment)
  • Click on the Add button to provide Input Argument Details (Name, Type, and Description)
  • Select your uploaded corresponding .jar/.vbs file(s) from the Associated Libraries.
  • Click on the Save button.


  • Your Custom Keyword has been created successfully and now you can use it.


Click Here to learn more about Opkey features.

To learn how you can create and use these keywords in a test case visit https://university.opkeylms.com and enroll in our Opkey series course.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article