public class MouseLibrary extends Library
| Modifier and Type | Field and Description |
|---|---|
protected TestUtility |
testUtility |
protected WebToolkit |
toolkit |
| Constructor and Description |
|---|
MouseLibrary(Library library,
WebToolkit toolkit,
TestUtility testUtility) |
| Modifier and Type | Method and Description |
|---|---|
void |
click(String keyName) |
void |
clickAndHold(String keyName) |
void |
contextClick(String keyName) |
protected WebKey |
convertToWebKey(String keyName) |
void |
doubleClick(String keyName) |
void |
dragAndDrop(String keyFromName,
String keyToName) |
void |
dragAndDropByOffset(String keyFromName,
int xOffset,
int yOffset) |
void |
moveByOffset(int xOffset,
int yOffset)
Deprecated.
|
void |
moveMouseByOffset(int xOffset,
int yOffset) |
void |
moveMouseToElement(String keyName) |
void |
moveMouseToElementByOffset(String keyName,
int xOffset,
int yOffset) |
void |
moveToElement(String keyName)
Deprecated.
|
void |
moveToElementByOffset(String keyName,
int xOffset,
int yOffset)
Deprecated.
|
void |
releaseMouse(String keyName) |
protected void |
setup() |
protected void |
teardown() |
blackboard, containsKeyword, context, documentMediator, eventHandler, eventHandler, executor, feed, getDataSource, getDataSource, getInstruction, getInstructions, getKeywords, getNamespace, hasInstruction, log, publish, setEvents, setup, sheetFactory, toStringprotected WebToolkit toolkit
protected final TestUtility testUtility
public MouseLibrary(Library library, WebToolkit toolkit, TestUtility testUtility)
public void click(String keyName) throws IllegalSourceStateException, DataValidationException
public void clickAndHold(String keyName) throws IllegalSourceStateException, DataValidationException
public void contextClick(String keyName) throws IllegalSourceStateException, DataValidationException
public void dragAndDrop(String keyFromName, String keyToName) throws IllegalSourceStateException, DataValidationException
public void dragAndDropByOffset(String keyFromName, int xOffset, int yOffset) throws IllegalSourceStateException, DataValidationException
public void doubleClick(String keyName) throws IllegalSourceStateException, DataValidationException
@Deprecated public void moveByOffset(int xOffset, int yOffset) throws IllegalSourceStateException, DataValidationException, WebKeyTypeUnsupportedException
public void moveMouseByOffset(int xOffset,
int yOffset)
throws IllegalSourceStateException,
DataValidationException,
WebKeyTypeUnsupportedException
@Deprecated public void moveToElement(String keyName) throws IllegalSourceStateException, DataValidationException
public void moveMouseToElement(String keyName) throws IllegalSourceStateException, DataValidationException
@Deprecated public void moveToElementByOffset(String keyName, int xOffset, int yOffset) throws IllegalSourceStateException, DataValidationException
public void moveMouseToElementByOffset(String keyName, int xOffset, int yOffset) throws IllegalSourceStateException, DataValidationException
public void releaseMouse(String keyName) throws IllegalSourceStateException, DataValidationException
protected WebKey convertToWebKey(String keyName) throws IllegalSourceStateException, DataValidationException
Copyright © 2015. All rights reserved.