wText Property (Specific to Silverlight RichTextBox and JavaFX TextArea Controls)

Applies to TestComplete 15.64, last modified on June 12, 2024
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.


Use the wText property to get the text displayed in an edit control.



Read-Only 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.


To view an example that demonstrates how to use the wText property, see Getting an Edit Control's Text in Desktop Windows Applications.

See Also

wSelection Property (Edit Controls)
wSelectionStart Property (Specific to DevExpressMemoEdit, DevExpressTextEdit, JFXSwingTextField and SilverlightTextBox Controls)
wSelectionEnd Property (Specific to DevExpressMemoEdit, DevExpressTextEditand SilverlightTextBox Controls)

Highlight search results