About Working with ActiveX and Visual Basic Controls - WinRunner

Many applications include ActiveX and Visual Basic controls developed by third-party organizations. WinRunner can record and run Context Sensitive operations on supported controls, as well as check their properties.

WinRunner supports all standard (built-in) Visual Basic and ActiveX controls. WinRunner also offers a more customized Context Sensitive support for several ActiveX Controls.

WinRunner provides two types of support for ActiveX and Visual Basic controls within a Visual Basic application. You can either:

  • install and load add-in support for ActiveX and Visual Basic controls (also known as non-agent support)
  • compile a WinRunner agent into your application, and install and load add in support for Visual Basic controls

When you work with the appropriate support, WinRunner recognizes ActiveX and Visual Basic controls, and treats them as it treats standard GUI objects. You can check the properties of ActiveX and Visual Basic controls as you check the properties of any standard GUI object.

At any time, you can view the current values of the properties of an ActiveX or a Visual Basic control using the GUI Spy. In addition, you can retrieve and set the values of properties for ActiveX and Visual Basic controls using TSL functions. You can also use a TSL function to activate an ActiveX control method.

WinRunner provides special built-in support for checking Visual Basic label controls and the contents or properties of ActiveX controls that are tables. For information on which TSL table functions are supported for specific ActiveX controls, see “Using TSL Table Functions with ActiveX Controls” For information on checking the contents of an ActiveX table control, see “Checking Table Contents.”

Supported ActiveX Controls

WinRunner supports all ActiveX controls. WinRunner also offers a more customized Context Sensitive support for certain ActiveX Controls. The following lists summarize the controls with special support.

Button Objects

The following ActiveX controls are supported for button objects:

  • Sheridan ActiveThreeD Control
  • Sheridan Data CommandButton Control
  • Sheridan OLE Data CommandButton Control

Calendar Objects

The following ActiveX controls are supported for calendar objects:

  • Crescent CSCalendar Control
  • Sheridan MonthView Control

Check Box Objects

The following ActiveX controls are supported for check box objects:

  • Sheridan ActiveThreeD Control

Combo Box Objects

The following ActiveX controls are supported for combo box objects:

  • Sheridan Data Combo Control
  • Sheridan OLE Data Combo Control

Edit Objects

The following ActiveX controls are supported for edit objects:

  • FarPoint InputPro Control

List Objects

The following ActiveX controls are supported for list objects:

  • FarPoint ListPro Control
  • Microsoft ListView Control

Menu and Toolbar Objects

The following ActiveX controls are supported for menu and toolbar objects:

  • DataDynamics ActiveBar Control
  • Infragistics UltraToolBar Control
  • Sheridan ActiveToolBars Control
  • Sheridan ActiveToolBars Plus Control

Radio Button Objects

The following ActiveX controls are supported for radio button objects:

  • Sheridan ActiveThreeD Control

Radio Group Objects

The following ActiveX controls are supported for radio group objects:

  • Sheridan Data Option Set Control
  • Sheridan OLE Data Option Set Control

Tab Objects

The following ActiveX controls are supported for tab objects:

  • Microsoft TabStrip Control
  • Sheridan ActiveTabs Control

Table Objects

The following ActiveX controls are supported for ActiveX tables:

  • Apex True DBGrid Control,
  • Apex True OLE DBGrid Control
  • FarPoint Spread Control
  • FarPoint Spread (OLEDB) Control
  • Infragistics UltraGrid (supported for running tests only)
  • Microsoft DataBound Grid Control
  • Microsoft DataGrid Control
  • Microsoft FlexGrid Control
  • Microsoft Grid Control
  • Microsoft Hierarchical FlexGrid Control
  • Sheridan Data Grid Control
  • Sheridan OLE DBGrid
  • Sheridan DBData Option Set
  • Sheridan OLEDBData Option Set
  • Sheridan DBCombo
  • Sheridan OLE DBCombo
  • Sheridan DBData Command
  • Sheridan OLEDBData Command

Toolbar Objects

The following ActiveX controls are supported for tool bar objects:

  • DataDynamics ActiveBar Control
  • Microsoft Toolbar Control
  • Sheridan ActiveToolBars Control
  • Sheridan ActiveToolBars Plus Control

Tree Objects

The following ActiveX controls are supported for tree objects:

  • Microsoft TreeView Control
  • Sheridan ActiveTreeView Control

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics