wViewName Property (Specific to AngularUI Calendar Controls)

Applies to TestComplete 15.47, last modified on January 20, 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

Returns the name of a view specified by its index. A view defines how a calendar displays days and events.

Declaration

TestObj.wViewName(Index)

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [in]    Required    Integer    

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 view whose name you want to obtain. The index is zero-based, that is, the first view has index 0, the second - 1, the third - 2, and so on. The total number of views in the calendar control is specified by the wViewCount property.

If the specified view does not exist, an error occurs.

Property Value

A string holding a view name.

See Also

wViewCount Property (Specific to AngularUI Calendar Controls)
wCurrentView Property (Specific to AngularUI Calendar Controls)

Highlight search results