Predefined Classes for Visual Basic with ActiveX Controls

In addition to the 4Test classes provided in Silk Test Classic, support for Visual Basic with ActiveX controls includes predefined class definitions for:
  • The native Visual Basic controls included in Microsoft Windows Visual Basic 6.0 Professional Edition.
  • The ActiveX controls bundled with Visual Basic 6.0 Professional Edition.

These definitions are provided in a file as a convenience to help you quickly get started testing your applications.

Property names that begin with the prefix VB, for example, rVBHeight of the OLEAniPushButton class, are available only in Visual Basic applications. These properties are added to an ActiveX control by the Visual Basic environment. They are not available in C/C++ environments.

Do You Need to Record Additional Classes?

If your application contains only those controls shipped with the Microsoft Windows Visual Basic Professional Edition, then you do not need to record additional classes. If you are not sure, review the controls in your application and compare them to the table in the list of controls.
  • If your application uses only types of controls that are included in the table, you do not need to record additional classes.
  • If your application uses controls other than those listed in the table, for example third-party ActiveX controls, you must record classes for these additional controls. After you record a class, you can retrieve information about any number of instances, known as objects, of that class.