Silk Test Classic provides built-in support using the Basic Workflow for testing applications that use widgets from the Standard Widget Toolkit (SWT) controls. When you configure a Java SWT/RCP application, Silk Test Classic automatically provides support for testing standard Java SWT/RCP controls.
For information about new features, supported platforms, and tested versions, refer to the Release Notes.
Java SWT applications support dynamic object recognition. When you record a test case with the Open Agent, Silk Test Classic creates locator keywords in an INC file to create scripts that use dynamic object recognition and window declarations.
Existing test cases that use dynamic object recognition without locator keywords in an INC file will continue to be supported. You can replay these tests, but you cannot record new tests with dynamic object recognition without locator keywords in an INC file.
Using custom class attributes becomes even more powerful when it is used in combination with dynamic object recognition.
For a complete list of the widgets available for SWT testing, see Supported SWT Widgets for the Open Agent.
For a complete list of the record and replay controls available for Java SWT testing, view the SWT.inc and JavaSWT.inc file. To access the JavaSWT.inc file that is used with the Open Agent, navigate to the <SilkTest directory>\extend\JavaSWT directory. By default, this file is located in C:\Program Files\Silk\SilkTest\extend\JavaSWT\JavaSWT.inc. To access the SWT.inc file, navigate to the <SilkTest directory>\extend\ directory. By default, this file is located in C:\Program Files\Silk\SilkTest\extend\SWT.inc.