public class EyeAutomateDriver extends Object
| Modifier and Type | Field and Description |
|---|---|
eyeautomate.ScriptRunner |
scriptRunner |
| Constructor and Description |
|---|
EyeAutomateDriver(TestCase testCase) |
| Modifier and Type | Method and Description |
|---|---|
void |
click(GuiElement element) |
void |
click(GuiElement element,
boolean performLogging) |
void |
click(GuiElement element,
int offsetX,
int offsetY)
Clicking the provided image, with an offset from the middle point.
|
void |
click(GuiElement element,
String offsetX,
String offsetY) |
boolean |
executeCommand(String commandLine) |
void |
exists(GuiElement element) |
void |
haltFurtherExecution() |
void |
Log(LogLevel logLevel,
String message) |
void |
moveMouseToElement(GuiElement element) |
void |
runScriptFile(String filePath) |
void |
saveDesktopScreenshot() |
void |
saveScreenshot(GuiElement element) |
void |
wait(int seconds) |
void |
verifyImage(GuiElement element) |
void |
write(GuiElement element,
String text) |
public EyeAutomateDriver(TestCase testCase)
public void runScriptFile(String filePath)
public boolean executeCommand(String commandLine)
public void wait(int seconds)
public void click(GuiElement element)
public void click(GuiElement element, boolean performLogging)
public void click(GuiElement element, int offsetX, int offsetY)
element - The element as base for clickoffsetX - The horizontal offset, positive numbers to the rightoffsetY - The vertical offset, positive numbers downwardspublic void click(GuiElement element, String offsetX, String offsetY)
public void write(GuiElement element, String text)
public void moveMouseToElement(GuiElement element)
public void verifyImage(GuiElement element)
public void exists(GuiElement element)
public void haltFurtherExecution()
public void saveScreenshot(GuiElement element)
public void saveDesktopScreenshot()
Copyright © 2019. All rights reserved.