Differences in the Classes Supported by the Silk Test Agents

The Classic Agent and the Open Agent differ slightly in the types of classes that they support. These differences are important if you want to manually script your test cases. Or, if you are testing a single test environment with both the Classic Agent and the Open Agent. Otherwise, the Open Agent provides the majority of the same record capabilities as the Classic Agent and the same replay capabilities.

Windows-based applications

Both Agents support testing Windows API-based client/server applications. The Open Agent classes, functions, and properties differ slightly from those supported on the Classic Agent for Windows API-based client/server applications.

Classic Agent Open Agent
AnyWin AnyWin
AgentClass (Agent) AgentClass (Agent)
CheckBox CheckBox
ChildWin <no corresponding class>
ClipboardClass (Clipboard) ClipboardClass (Clipboard)
ComboBox ComboBox
Control Control
CursorClass (Cursor) CursorClass (Cursor)
CustomWin CustomWin
DefinedWin <no corresponding class>
DesktopWin (Desktop) DesktopWin (Desktop)
DialogBox DialogBox
DynamicText <no corresponding class>
Header HeaderEx
ListBox ListBox
ListView ListViewEx
MainWin MainWin
Menu Menu
MenuItem MenuItem
MessageBoxClass <no corresponding class>
MoveableWin MoveableWin
PageList PageList
PopupList ComboBox
PopupMenu <no corresponding class>
PopupStart <no corresponding class>
PopupSelect <no corresponding class>
PushButton PushButton
RadioButton
Note: Items in Radiolists are recognized as RadioButtons on the CA. OA only identifies all of those buttons as RadioList.
RadioList RadioList
Scale Scale
ScrollBar ScrollBar, VerticalScrollBar, HorizontalScrollBar
StaticText StaticText
StatusBar StatusBar
SysMenu <no corresponding class>
Table TableEx
TaskbarWin (Taskbar) <no corresponding class>
TextField TextField
ToolBar

ToolBar

Additionally: PushToolItem, CheckBoxToolItem

TreeView, TreeViewEx TreeView
UpDown UpDownEx

The following core classes are supported on the Open Agent only:

  • CheckBoxToolItem
  • DropDownToolItem
  • Group
  • Item
  • Link
  • MonthCalendar
  • Pager
  • PushToolItem
  • RadioListToolItem
  • ToggleButton
  • ToolItem

Web-based Applications

Both Agents support testing Web-based applications. The Open Agent classes, functions, and properties differ slightly from those supported on the Classic Agent for Windows API-based client/server applications.

Classic Agent Open Agent
Browser BrowserApplication
BrowserChild BrowserWindow
HtmlCheckBox DomCheckBox
HtmlColumn <no corresponding class>
HtmlComboBox <no corresponding class>
HtmlForm DomForm
HtmlHeading <no corresponding class>
HtmlHidden <no corresponding class>
HtmlImage <no corresponding class>
HtmlLink DomLink
HtmlList <no corresponding class>
HtmlListBox DomListBox
HtmlMarquee <no corresponding class>
HtmlMeta <no corresponding class>
HtmlPopupList DomListBox
HtmlPushButton DomButton
HtmlRadioButton DomRadioButton
HtmlRadioList <no corresponding class>
HtmlTable DomTable
HtmlText <no corresponding class>
HtmlTextField DomTextField
XmlNode <no corresponding class>
Xul* Controls <no corresponding class>
Note: The DomElement class of the Open Agent enables you to access any element on an HTML page. If the Open Agent has no class associated with a specific class supported on the Classic Agent, you can use the DomElement class to access the controls in the class.

Java AWT/Swing Applications

Both Agents support testing Java AWT/Swing applications. The Open Agent classes, functions, and properties differ slightly from those supported on the Classic Agent for Windows API-based client/server applications.

Classic Agent Open Agent
JavaApplet AppletContainer
JavaDialogBox AWTDialog, JDialog
JavaMainWin AWTFrame, JFrame
JavaAwtCheckBox AWTCheckBox
JavaAwtListBox AWTList
JavaAwtPopupList AWTChoice
JavaAwtPopupMenu <no corresponding class>
JavaAwtPushButton AWTPushButton
JavaAwtRadioButton AWTRadioButton
JavaAwtRadioList <no corresponding class>
JavaAwtScrollBar AWTScrollBar
JavaAwtStaticText AWTLabel
JavaAwtTextField AWTTextField, AWTTextArea
JavaJFCCheckBox JCheckBox
JavaJFCCheckBoxMenuItem JCheckBoxMenuItem
JavaJFCChildWin <no corresponding class>
JavaJFCComboBox JComboBox
JavaJFCImage <no corresponding class>
JavaJFCListBox JList
JavaJFCMenu JMenu
JavaJFCMenuItem JMenuItem
JavaJFCPageList JTabbedPane
JavaJFCPopupList JList
JavaJFCPopupMenu JPopupMenu
JavaJFCProgressBar JProgressBar
JavaJFCPushButton JButton
JavaJFCRadioButton JRadioButton
JavaJFCRadioButtonMenuItem JRadioButtonMenuItem
JavaJFCRadioList <no corresponding class>
JavaJFCScale JSlider
JavaJFCScrollBar JScrollBar, JHorizontalScrollBar, JVerticalScrollBar
JavaJFCSeparator JComponent
JavaJFCStaticText JLabel
JavaJFCTable JTable
JavaJFCTextField JTextField, JTextArea
JavaJFCToggleButton JToggleButton
JavaJFCToolBar JToolBar
JavaJFCTreeView JTree
JavaJFCUpDown JSpinner

Java SWT/RCP Applications

Only the Open Agent supports testing Java SWT/RCP-based applications. For a list of the classes, see Supported SWT Widgets for the Open Agent.