Text Property (Web Objects)

Applies to TestComplete 14.40, last modified on April 22, 2021

Description

Specifies the string that is entered in the edit box. This property is applied to web edit boxes only.

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

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

Use the Text property to obtain or specify the text that is entered in the web edit box. Using this property you can change the content of the specified edit box directly from your script code.

Remarks

This property is available only if the Tree model of web objects is active.

See Also

Web Object
Default Web Testing

Highlight search results