Text Property (Web Objects)

Applies to TestComplete 15.20, last modified on January 19, 2022

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
Classic Web Testing

Highlight search results