Predefined Classes for ActiveX/Visual Basic Controls

This functionality is supported only if you are using the Classic Agent.

In addition to the 4Test classes provided in Silk Test Classic, support for Visual Basic with ActiveX controls includes predefined class definitions for:

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 these types of controls, you do not need to record additional classes. Go to Testing ActiveX/Visual Basic controls.
  • 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, as described in Recording new classes for ActiveX/Visual Basic controls. After you record the class, you can retrieve information about any number of instances (objects) of that class.