wAddress Property (IPAddress Controls)

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

Use the wAddress property to get or set the contents of the IP address field.

To set an IP address in a numeric form use the SetAddress method.

Declaration

TestObj.wAddress

Read-Write Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

A text string containing the IP address displayed by the control.

Remarks

The string with IP address has the following format: nnn.nnn.nnn.nnn, where the “nnn” is a group of three digits ranging from 0 to 255. The leading zeros can be omitted. A period symbol “.” is used as a separator between groups.

Example

To view an example that demonstrates how to use the wAddress property, see Setting an IP Address in Desktop Windows Applications.

See Also

Setting an IP Address in Desktop Windows Applications
Getting an IP Address in Desktop Windows Applications
SetAddress Method (IPAddress Controls)
Clear Method (IPAddress Controls)

Highlight search results