Skip to main content

[Windows] Right-click

Description

Perform a right-clicking action on the Web element found by using the locator value of the given Windows object.

Keyword name: rightClick

Parameters

Parameter Parameter TypeRequiredDescription
windowsObjectWindowsTestObjectYesAn object describing the locator and locator strategy to find a Windows element.

Example

"Right-click on the item element to view the context menu"
Windows.rightClick(findWindowsObject("Object Repository/item"))