ClickNewRowIndicatorR Action (Grid Controls)

Applies to TestComplete 14.72, last modified on December 24, 2020
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 ClickNewRowIndicatorR action to simulate a click of the right mouse button over the new row’s indicator.

Declaration

TestObj.ClickNewRowIndicatorR(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:

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, ClickNewRowIndicatorR fails and posts an error message to the log.

See Also

DblClickNewRowIndicatorR Action (Grid Controls)

Highlight search results