Text Property (DateTimePicker Controls)

Applies to TestComplete 14.40, last modified on April 22, 2021
Information in this topic applies only to web tests that implement the default approach. This property is not supported in cross-platform web tests.

Description

Use the Text property to get or set the text displayed in an edit control.

Declaration

TestObj.Text

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 objects:

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 string holding the text displayed by the control.

Remarks

Note that to change text, you can also use the SetText action. Unlike the Text property, SetText adds an entry to the test log about the performed operation.

See Also

wDate Property (DateTimePicker Controls)
SetText Action (DateTimePicker Controls)

Highlight search results