wSelectedDate Property (Specific to YUI 2 Calendar Controls)

Applies to TestComplete 15.69, last modified on November 13, 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.

Description

The wSelectedDate property returns one of the dates currently selected in the calendar control.

Declaration

TestObj.wSelectedDate(Index)

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
Index [in]    Optional    Integer Default value: 0   

Applies To

The property is applied to the following object:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Parameters

The property has the following parameter:

Index

Specifies the index of the selected date you want to get. The index is zero-based, that is, the first date selected in the calendar has index 0, the second -1, and so on. The index of the last selected date is wSelectedDateCount - 1.

Property Value

The date that is currently selected in the control.

See Also

wMinDate Property (Specific to YUI 2 Calendar Controls)
wMaxDate Property (Specific to YUI 2 Calendar Controls)

Highlight search results