|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.|
wValue property to obtain or set the value held in the specified object cell.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following objects:
AngularUI Grid, Borland String Grid, Borland TDBGrid and 34 more objects, Developer Express ExpressVerticalGrid, Developer Express WPF Grid, Developer Express XtraGrid, DevExpressXtraGridView, DevExpressXtraVerticalGridColumn, Ext JS Grid Panel, Flex DataGrid, Infragistics UltraGrid, Infragistics WebDataGrid, Infragistics XamDataGrid, InfragisticsUltraGridView, InfragisticsWebDataGridView, Java Swing Table, JavaFX TableView, MFC Grid, Microsoft DataGrid, Microsoft DataGridView, Rogue Wave Stingray Objective Grid, Rogue Wave Stingray Objective GridEx, SAP GUI ShellGridView, Silverlight Grid, Spark DataGrid, Syncfusion Essential Grid (GridGroupingControl), Syncfusion Grid Controls, SyncfusionEssGridView, Telerik RadGridView for Silverlight, Telerik RadGridView for WinForms, Telerik RadGridView for WPF, TMS TAdvStringGrid, WPFToolkitDataGrid, XamDataGridView, Xceed Grid, YUI 2 DataTable, YUI 3 DataTable « Collapse the list
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
The property has the following parameters:
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
|The value of the
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.
|The XtraVerticalGrid control may contain multi-editor columns. These columns contain several headers (or nested columns) within each column. TestComplete considers these nested columns as ordinary columns, and both types of columns share the same index space.
The following image illustrates a typical structure of the XtraVerticalGrid control:
The value in the specified cell. If the cell is not found,
wValue returns the null value (
Nothing in VBScript,
nil in DelphiScript,
None in Python,
You can use the
wValue property along with the
wColumnCount properties to iterate through table cells.
If you use Python or DelphiScript, you should enclose the parameters of the
wValue property in square brackets:
|WPF Toolkit DataGrid:
TestComplete supports only four types of WPF Toolkit DataGrid columns:
If the grid is bound to a “raw” data object, such as
To change cell values in an editable grid, simulate actual input into in-place editors. For example, use the
To view an example that demonstrates how to use the
wValue property, see Working With Grids - Basic Concepts.
wValue Property (Specific to DevExpressQuantumGrid Controls)
wValue Property (Specific to Qt TableWidget Controls)
wValue Property (Specific to PropertyGrid Controls)
wColumn Property (Grid Controls)