Before implementing
Silk Central keywords, define the keywords as part of a keyword-driven test in
Silk Central.
To implement a
Silk Central keyword in
Silk4J:
Create a project in
Silk4J with the same name as the keyword library in
Silk Central, which includes the keyword-driven test.
If the keyword library in
Silk Central has no type assigned, click
Silk4J > Upload Keyword Library to set the library type.
Optional: To implement a specific keyword in
Silk4J from
Silk Central, open the
Keywords tab of the library in
Silk Central and click
Implement with
Silk Test in the
Actions column of the keyword.
In the
Silk4J menu, click
Silk4J > Show Keywords View.
In the
Keywordsview, double-click the keyword-driven test.
To update the
Keywordsview with any changes from
Silk Central, click
Refresh.
In the toolbar, click
Record Actions.
If you have set an application configuration for the current project and you are testing a web application, the
Select Browser dialog box opens:
Select the browser.
Optional:
If you want to test a web application on a desktop browser with a predefined browser size, select the browser size from the
Browser size list.
For example, to test a web application on
Apple Safari and in a browser window which is as big as the screen of the Apple iPhone 7, select
Apple iPhone 7 from the list.
Optional:
Select an
Orientation for the browser window.
Optional: Click
Edit Browser Sizes to specify a new browser size and to select which browser sizes should be shown in the
Browser size list.
Click
Record. For additional information on recording, see
Recording a Keyword.
Record the actions for the first unimplemented keyword.
When you have recorded all the actions for the current keyword, click
Next Keyword.
To switch between keywords in the
Recording window, click
Previous Keyword and
Next Keyword.
Click
Stop.
The
Record Complete dialog box opens.
Note: You cannot delete keywords or change the sequence of the keywords in a keyword-driven test from
Silk Central, as these tests are read only in
Silk4J.
If an implemented keyword is displayed as not implemented in the
Keywords window, check
Project > Build Automatically in the
Eclipse menu.