wValue Property (Spin Controls)

Applies to TestComplete 14.60, last modified on April 22, 2021
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.

Description

Use the wValue property to get the current value displayed in the control.

Declaration

TestObj.wValue

Read-Write Property Double
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

The value displayed in the spin box control.

Remarks

DevExpressSpinEdit: You can increase or decrease wValue via the Up Action (Spin Controls) or the Down Action (Spin Controls).
QtDoubleSpinBox, QtSpinBox: You can increase or decrease wValue via the Up Action (Specific to QtDoubleSpinBox and QtSpinBox Controls) or the Down Action (Specific to QtDoubleSpinBox and QtSpinBox Controls) action.

If you set a value that is earlier than wMin, the wValue property value is set equal to wMin; if you set a value that is greater than the wMax property value, the wValue property is set equal to wMax.

See Also

wMin Property (QtSpinBox Controls)
wMax Property (QtSpinBox Controls)

Highlight search results