The Keywords page offers two different views in , depending on the selected object.
Task | Steps |
---|---|
Implementing a keyword (adding code to be able to actually run the keyword in a test) | Prerequisites: If your keyword contains parameters, you need to specify a value for each parameter before you implement the
keyword.
|
Editing an implemented keyword in Silk Test | Click (Open with Silk Test) to open the keyword in the Silk Test client. Refer to the Silk Test client documentation for detailed information. |
Converting a draft keyword to a keyword sequence (a keyword consisting of other keywords) | Click in the Actions column of the keyword that you want to convert to a keyword sequence. The original keyword is then replaced by a keyword sequence with the same name and the keyword editor opens. |
Converting a keyword sequence to a draft keyword | If you accidentally created a keyword sequence, you may want to convert it back to a draft keyword. Click
(Convert to draft keyword) in the
Actions column of the keyword sequence that you want to convert.
Note: Converting a keyword sequence to a draft will delete the sequence and all contained keywords. This action cannot be undone.
|
Editing a keyword sequence | Click to open the keyword sequence in the keyword editor. |
Grouping keywords | To better structure the keywords in a library, you can group them:
|
Viewing tests and keyword sequences that reference a specific keyword or keyword sequence | To view all tests and keyword sequences that reference a specific keyword or keyword sequence, select the appropriate entry in the keyword list and the Referenced By list will display all referencing keyword-driven tests and keyword sequences. Simply click the name to jump to the respective reference. |
Replacing keywords in referencing tests and keyword sequences | To replace references to the selected keyword or keyword sequence with another one, select the appropriate entry in the keyword
list and use the
Referenced By list to select the objects in which you want to replace the reference.
|
Task | Steps |
---|---|
Opening a test or keyword sequence in Silk Test | Click Open with Silk Test to open the selected test or keyword sequence in Silk Test. |
Adding a keyword |
Tip: You can select multiple keywords with
Ctrl+Click. When dropping them, they will be sorted in the order that you selected them in.
|
Deleting a keyword | Click in the Actions column of the keyword that you want to delete. Click Save. |
Changing the order of keywords | Drag and drop a keyword to the desired position. Click Save. |
Creating a keyword sequence (a keyword consisting of other keywords) |
|
Extracting keywords from a keyword sequence | Right-click a keyword sequence and click Extract keywords. The original keyword sequence is then replaced by the keywords that it contained, but it is not removed from the library. Click Save. |
Defining parameters for a keyword sequence |
|
Editing a draft keyword |
|
Searching for a keyword |
Use the search field in the
All Keywords pane on the right to find a specific keyword. When you enter alphanumeric characters, the list is dynamically updated with all existing matches.
Tips for searching:
|
Finding draft keywords in the library | If you want to switch to the library that contains the draft keywords of your selected test or keyword sequence, click Draft keywords in the top right of the editor page. |