TestComplete offers a set of functions to work with standard Win32 controls from your tests, including the IP Address control. This control allows you to obtain the IP Address control’s IP address and set it in a text or numeric form.
TestComplete associates IP Address controls with the
Win32IPAddress object by analyzing the controls’ class names. The class names of standard IP Address controls are listed in the project’s Object Mapping options. If the tested application uses a custom IP Address control, you can associate it with the
Win32IPAddress object by adding its class name to the Object Mapping list.
You can use properties and methods of this object to work with the IP Address control. For example, you can use these properties to set and get the address displayed in the IP Address control. The topics of this section describe how to work with IP Address 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.|