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
The wMaxDate
property returns the maximum date that can be specified in the control.
Declaration
TestObj.wMaxDate
Read-Only 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:
AngularUI Bootstrap Datepicker, AngularUI Date, jQuery UI Datepicker and 3 more objects, Telerik RadDateTimePicker for WinForms, Win32 DateTimePicker, WPF Toolkit DatePicker « Collapse the list
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
The maximum date that can be selected in the control.
Remarks
The property works differently for different objects:
-
Win32 DateTimePicker
If you assign more than
wMaxDate
date to thewDate
property, no changes will be applied and the previously selected date will stay selected. -
WPF Toolkit DatePicker
If you assign more then
wMaxDate
date to thewDate
property, thewMaxDate
property is set equal towMinDate
.
Example
To view an example that demonstrates how to use the wMaxDate
property, see Getting Minimum and Maximum Allowed DateTimePicker Dates.
See Also
wDate Property (DateTimePicker Controls)
wMinDate Property (DateTimePicker Controls)