Cinnamon Documentation

Assert
BaseExplicitWaitTest
BaseTest
Capabilities
Context
Cookie
CookieManager
CSSLocator
ElementLocator
ExpectedCondition
ExpectedConditions
OrgUnderTest
PageObject
RemoteAlert
RemoteMouse
RemoteTouch
RemoteWebDriver
RemoteWebDriverServiceProvider
SelectOptionAdapter
StandardLayoutLocator
TableWebElement
TestUtil
VisualforceByHtmlTagLocator
VisualforceChildLocator
VisualforceLocator
Wait
WebElement
WindowSize

RemoteMouse

global with sharing class RemoteMouse
DescriptionAllows the test writer to control the mouse over the remote machine. This class contains an enumeration of three different mouse buttons: left, middle, and right. You can access these enumeration values by using cinnamon.RemoteMouse.Button.LEFT, cinnamon.RemoteMouse.Button.MIDDLE, and cinnamon.RemoteMouse.Button.RIGHT.

  Properties

Button
global enum Button

Methods

  buttonDown

global void buttonDown(Button button)
DescriptionRepresents holding down a mouse button.
Parameters
buttonThe mouse button to press.

  buttonUp

global void buttonUp(Button button)
DescriptionRepresents releasing a mouse button.
Parameters
buttonThe mouse button to release.

  click

global void click(Button button)
DescriptionRepresents clicking a mouse button.
Parameters
buttonThe mosue button to click.

  doubleClick

global void doubleClick()
DescriptionRepresents double clicking the left mouse button.

  moveTo

global void moveTo(WebElement element)
DescriptionRepresents moving the cursor to a particular element on a page.
Parameters
elementThe target WebElement to which the cursor moves.

  moveTo

global void moveTo(Long x, Long y)
DescriptionRepresents moving the cursor to a particular location on a page.
Parameters
xThe target horizontal location to which the cursor moves.
yThe target vertical location to which the cursor moves.

  moveTo

global void moveTo(WebElement element, Long x, Long y)
DescriptionRepresents moving the cursor to a particular element and location on a page.
Parameters
elementThe target WebElement to which the cursor moves.
xThe target horizontal location to which the cursor moves.
yThe target vertical location to which the cursor moves.