SWTTabControl is the class for tab controls in an SWT multi-page dialog.
This class is supported only on the Open Agent.
SWTTabControl is derived the PageList class.
In SWTTabControl methods, you can invoke a tab directly using the tab item, or you can use the tab folder hierarchy. By default, Silk Test Classic records tab items directly. However, you can set record and replay options for the Open Agent to use the tab folder hierarchy.
The following example records tab items:
SwtTestApplication.Control.StandardCtrlSample.Pick() SWTControls.SWTTabControl1.TabFolder.Select() SWTControls.SWTTabControl1.TabFolder.ScrollableControl1.TabFolder.SWTTabControl1.Tab11.Select()
The following example records tab folder actions:
SwtTestApplication.Control.StandardCtrlSample.Pick() SWTControls.SWTTabControl1.Select("TabFolder") SWTControls.SWTTabControl1.TabFolder.ScrollableControl1.TabFolder.SWTTabControl1.Select("Tab 1")
SWTTabControl inherits all of its methods from the PageList class.
In addition to the properties it inherits from the PageList class, SWTTabControl has the following properties: