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")