|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.|
wTime property to specify the time selected in the DateTimePicker control.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following objects:
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
The time currently selected in the control.
The property works differently for different objects:
This property is useful only if the
wIsDateFormatproperty’s value is False (that is, if the DateTimePicker control displays time). Otherwise,
If a check box is displayed next to the date (time) within the control (the
wShowCheckboxproperty is True) and this check box is cleared (the
wCheckedproperty is False), using the
wTimeproperty causes an error message which is posted to the test log.
To view an example that demonstrates how to use the
wTime property, see Obtaining DateTimePicker Date and Time in Desktop Windows Applications.
Setting DateTimePicker Time in Desktop Windows Applications
Obtaining DateTimePicker Date and Time in Desktop Windows Applications
wDate Property (DateTimePicker Controls)