Keywords offer a set of predefined commands for creating test cases for any application. With keywords, you can easily write test steps with input and output data without the need for complex coding. The Opkey library includes over 700 built-in keywords.
How to use Keywords?
Keywords are utilized by calling them within a test step and adding input and expected output data values. To capture dynamic objects, you can also include the object's properties in the test object column.
1. To add a new step in your empty test case, click the Add Step or "+' button in the test case.
2. Next, locate the keyword you want to use by typing its name into the search box. A dropdown list will appear, showing all keywords that match your entry. Click on the desired keyword from the dropdown to select it.
For example, we typed "Oracle" into the search box and selected "Oracle Click" from the dropdown.
3. The selected keyword will be added to your test case step. Follow the same steps to add any keyword in a test case.
Adding a keyword in the middle of test case steps
To add a new test step with a keyword to a test case, follow these steps.
1. Select the test step after which you'd like to add the new step with the keyword. For instance, in the test case, we're adding a step after step 4. Next, click the "Add Step" button at the top to insert a new step. As shown below, the new step is added after step 4.
3. To add a step at the end of the test case, select the last step and click "Add Step". For a step at the beginning, select the first step, add a new one after it, and use the arrow key to move it to the top. You can also use these keys to adjust the position of any step in the test case.
Types of Opkey Keywords:
Generic Keywords
System Keywords:
Selenium Webdriver Keywords
The Selenium Webdriver keyword is used to execute test suites by directly opening a web browser rather than running scripts within the browser. They work only with the Selenium webdriver as a plugin. For Example, GetSingleRowText, GetObjectProperty, etc.
Visual Plugin Keywords
Visual Plugin keywords are plugin-specific and used for GUI testing with referenced images. They work exclusively with the Visual plugin, such as CompareImageObjects and Paste.
Appium Keywords
These keywords are specifically used while using Appium as a plugin for mobile devices. For example, CloseApplication, DoubleTouch, etc.
Robotium Keywords
Robotium keywords are plugin-specific and applicable to Android applications, such as ClickOnText and IsEditTextEmpty.
ERP Specific keywords
Here is a list of keywords available in Opkey.
Web Keywords
https://customerhub.opkey.com/en/support/solutions/articles/88000056813-using-web-keywords-new-ui
Collection keywords
Mobility keywords
Visual Plugin keywords
Oracle Fusion Keywords
Desktop Keywords
Javascript Keyword
Utility Keywords
Control Flow Construct keyword
Salesforce keyword
Veeva Keywords
https://customerhub.opkey.com/en/support/solutions/articles/88000059602-veeva-keywords-action
https://customerhub.opkey.com/en/support/solutions/articles/88000059626-veeva-keywords-bytext
https://customerhub.opkey.com/en/support/solutions/articles/88000059675-veeva-keywords-table
Generic Keywords
https://customerhub.opkey.com/en/support/solutions/articles/88000046513-generic-keyword-action
https://customerhub.opkey.com/en/support/solutions/articles/88000012669-generic-keywords-–-assertion
https://customerhub.opkey.com/en/support/solutions/articles/88000012670-generic-keywords-–-function
Oracle EBS Keywords
https://customerhub.opkey.com/en/support/solutions/articles/88000048130-opkey-oracle-ebs-keywords
System Keywords
You are at the end of this article.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article