wValue Property (Specific to Ext JS Tree Panel Control)

Applies to TestComplete 14.72, last modified on December 24, 2020
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 wValue property to obtain or set the value held in the specified tree panel cell.

Declaration

TestObj.wValue(RowColumn)

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

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

The property has the following parameters:

Row

Specifies the row (by its index) that contains the cell whose value you want to obtain or set. The index is zero-based, that is, the first row has index 0, the second - 1, and so on. The index of the last row is wRowCount-1.

Column

Specifies the column that contains the cell whose value you want to obtain or set.

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 variant that represents the cell’s contents. If the specified cell is not found, wValue returns the null value (Nothing in VBScript, nil in DelphiScript, None in Python, null in JavaScript, JScript, C++Script and C#Script) and posts an error message to the test log.

Remarks

You can use wValue property along with wRowCount and wColumnCount property to iterate through tree view cells.

See Also

wColumn Property (Specific to Ext JS Tree Panel Control)

Highlight search results