A status bar is a Windows control that represents detailed information about the application’s state. A status bar can be divided into several parts each containing a certain type of information.
You can use the
Win32StatusBar object, which provides a set of specific properties and methods, to operate with status bar controls. You can use this object to obtain various information about the tested status bar control and perform actions over it. Actually, TestComplete associates the
Win32StatusBar object with all status bar controls whose class names are listed in the Default Project Properties - Object Mapping Options project’s options. If your tested application uses a custom status bar control, you can add its class name to the Windows | Status Bar group of the project’s Object Mapping options.
The methods and properties of the
Win32StatusBar object let you perform various operations over tested status bar controls. In addition, if the tested application is an Open Application, the internal methods and properties of the status bar control can also be accessed from tests. To learn which methods and properties of the status bar control are available to your tests, explore the tested control in the Object Browser.
The topics of this section describe common operations that can be performed over status bar controls.
|Note:||Though the following topics deal with scripts, you can use the same approaches while testing an application from your keyword tests. For more information, see Keyword Tests Basic Operations.|