Support for JavaBeans

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

Many Java components are implemented as JavaBeans. Each JavaBean must provide an associated BeanInfo class that describes the capabilities of the component, including its methods and properties.

Our Java support provides a 4Test method called GetBeanInfo method that you can use in scripts to access information from the BeanInfo structure associated with JavaBeans in the applications or applets you are testing.

Using GetBeanInfo, you can access the following information about JavaBeans:
  • Name of the JavaBean.
  • Methods.
  • Properties.
  • Events supported by the JavaBean.
  • Methods associated with event listeners supported by the JavaBean.
  • Size of the icon associated with the JavaBean.