This method is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This method can be only used in tests that locate web objects by using internal identification properties provided by TestComplete. |
Description
Use the ClickNewRowIndicator
action to simulate a click of the left mouse button over the new row’s indicator.
Declaration
TestObj.ClickNewRowIndicator(Shift)
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Shift | [in] | Optional | TShiftKey | Default value: skNoShift |
Result | None |
Applies To
The method 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, Developer Express XtraVerticalGrid, DevExpressXtraGridView, 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
View Mode
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The method has the following parameter:
Shift
Sets whether the Shift, Alt or Ctrl keys are pressed during the click event (see TShiftKey). By default, this parameter is skNoShift
(the shift keys are not pressed).
Result Value
None.
Remarks
If the given grid does not have the new row, ClickNewRowIndicator
fails and posts an error message to the log.