wValue Property (Date-Time Edit Controls)

Applies to TestComplete 15.46, last modified on January 09, 2023
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 this property to get the value that is currently displayed in the date-time edit control or to set a new one.

Declaration

TestObj.wValue

Read-Write Property Date/Time
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 date currently selected in the control.

Remarks

Qt DateTimeEdit, Developer Express TimeEdit: You can increase and decrease the value with the Up and Down methods.

Qt DateTimeEdit: If you set a date that is earlier than wMin, the wValue property is set equal to wMin; if you set a date that is later than the wMax property value, the wValue property is set equal to wMax.

See Also

Down Action (Specific to QtDateTimeEdit Controls)
Up Action (Specific to QtDateTimeEdit Controls)

Highlight search results