Custom Keyword
Custom keywords empower users to craft their unique keywords using a low-code approach. Custom keywords allow users to create their own reusable keywords to address specific testing requirements. Custom keywords offer an end-to-end solution for users seeking to tailor their automated testing experience. Starting from the design phase, users employ a low-code interface to define their own keywords, addressing specific testing scenarios that standard keywords cannot cover effectively.
Custom keywords tailored to specific element types are used across the project. Example: When the user creates a custom keyword for a textbox or button, that keyword is exclusive to the textbox and button across the project.
The user has to navigate to the Avo Assure home screen.
The user has to select the project from the All Projects list and click the Design Studio button, and the Design Studio window will be displayed.
To get the testcase context menu, the user has to click the Test Case icon, and the Testcase Context Menu will be displayed.
The user has to click the Design Test Steps button, and the Design Test Step window will be displayed.
The user has to click the Add Test Step icon to add a test step, and a test step will be added.
To edit the test step, the user has to select the test step and click the Edit Test Step icon.
The user has to select the Element Name from the Select Element Name drop-down menu. Note: The user can select any Element Name to create a custom keyword.
The user has to click the Custom Keyword button from the Keywords drop-down menu. The Custom Keyword window will be displayed.
The user has to enter the keyword name in the Enter Custom Key textbox. Note: the user can provide the specified name.
The user has to enter the Tooltip in the Enter Short Description text box. Note: the user can provide the specified name.
Select the programming language radio button to create the custom keyword and enter the Code in the IDE. Note: The user can select JavaScript or Python to create the keyword.
The user has to click the Save Keyword button. The keyword will be created and will be available in the keywords drop-down menu.
To get the keyword, click the Add Test Step icon, and a test step will be added.
To edit the test step, the user has to select the test step and click the Edit Test Step icon.
The user has to select the Element Name from the Select Element Name drop-down menu. Note: The user can select any Element Name to create a custom keyword.
Select the newly added keyword from the Keywords drop-down menu to work with the custom keyword.
Edit Custom Keyword
To edit the custom keyword, the user has to click the Edit icon.
The Custom Keyword window will be displayed. Modify the code as needed, and click the Save Keyword button. Note: The user can only edit the code.
Last updated