wColumn Property (Specific to Ext JS Tree Panel Control)

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

Use the wColumn property to get the caption of a tree panel column by its index.

Declaration

TestObj.wColumn(Column)

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
Column [in]    Required    Integer    

Applies To

The property is applied to the following objects:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Parameters

Column

Specifies the index of the column whose caption you want to get.

The index is zero-based and corresponds to the column’s position within the object's internal columns collection rather than the column’s visible position in the object.

The caption can contain asterisk (*) or question mark (?) wildcards or regular expressions. The asterisk corresponds to a string of any length, the question mark corresponds to any single character. To specify more complicated parts of a caption, use regular expressions.

The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.

Property Value

A string holding the caption of the specified column.

Remarks

If the column with the specified index is not found, wColumn returns an empty string and posts an error message to the test log.

To get the total number of columns read the wColumnCount property.

See Also

wColumnCount Property (Specific to Ext JS Tree Panel Control)

Highlight search results