public abstract class EyesRunner extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BASE_AGENT_ID
name of the client sdk
|
protected CommandExecutor |
commandExecutor
command executor
|
protected static String[] |
COMMANDS
list of commands sent to the server.
|
protected static AbstractSDKListener |
listener
the universal server listener.
|
protected Logger |
logger |
protected Reference |
managerRef
this reference has to be used in order to perform manager related actions (EyesManager.openEyes, EyesManager.closeAllEyes)
|
protected static String |
PROTOCOL
the protocol to be used
|
protected static String |
VERSION
version of the client sdk
|
| Constructor and Description |
|---|
EyesRunner()
used for instantiating Classic Runner
|
EyesRunner(String baseAgentId,
String version)
used for instantiating Classic Runner
|
EyesRunner(String baseAgentId,
String version,
AbstractSDKListener listener) |
EyesRunner(String baseAgentId,
String version,
RunnerOptions runnerOptions)
used for instantiating VisualGrid Runner
|
EyesRunner(String baseAgentId,
String version,
RunnerOptions runnerOptions,
AbstractSDKListener listener)
used for instantiating VisualGrid Runner
|
EyesRunner(String baseAgentId,
String version,
String protocol,
String[] commands,
AbstractSDKListener listener)
used for instantiating Classic Runner
|
EyesRunner(String baseAgentId,
String version,
String protocol,
String[] commands,
AbstractSDKListener listener,
RunnerOptions runnerOptions)
used for instantiating VisualGrid Runner
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAgentId() |
TestResultsSummary |
getAllTestResults() |
TestResultsSummary |
getAllTestResults(boolean shouldThrowException) |
CommandExecutor |
getCommandExecutor()
command executor
|
Logger |
getLogger() |
Reference |
getManagerRef()
manager reference
|
AbstractProxySettings |
getProxy() |
protected Refer |
getRefer() |
protected StaleElementReferenceException |
getStaleElementException() |
Boolean |
isDontCloseBatches() |
void |
logSessionResultsAndThrowException(boolean throwEx,
TestResults results) |
protected void |
runServer(String baseAgentId,
String version) |
protected void |
runServer(String baseAgentId,
String version,
String protocol,
String[] commands,
AbstractSDKListener listener) |
void |
setCommandExecutor(CommandExecutor commandExecutor) |
void |
setDontCloseBatches(boolean dontCloseBatches) |
void |
setLogHandler(LogHandler logHandler) |
void |
setManagerRef(Reference managerRef) |
void |
setProxy(AbstractProxySettings proxySettings) |
protected CommandExecutor commandExecutor
protected Reference managerRef
protected static String BASE_AGENT_ID
protected static String VERSION
protected static String PROTOCOL
protected static String[] COMMANDS
protected static AbstractSDKListener listener
protected Logger logger
public EyesRunner()
public EyesRunner(String baseAgentId, String version)
public EyesRunner(String baseAgentId, String version, AbstractSDKListener listener)
public EyesRunner(String baseAgentId, String version, RunnerOptions runnerOptions)
public EyesRunner(String baseAgentId, String version, RunnerOptions runnerOptions, AbstractSDKListener listener)
public EyesRunner(String baseAgentId, String version, String protocol, String[] commands, AbstractSDKListener listener)
public EyesRunner(String baseAgentId, String version, String protocol, String[] commands, AbstractSDKListener listener, RunnerOptions runnerOptions)
protected void runServer(String baseAgentId, String version, String protocol, String[] commands, AbstractSDKListener listener)
public TestResultsSummary getAllTestResults(boolean shouldThrowException)
public void setLogHandler(LogHandler logHandler)
public void logSessionResultsAndThrowException(boolean throwEx,
TestResults results)
protected StaleElementReferenceException getStaleElementException()
public TestResultsSummary getAllTestResults()
public void setDontCloseBatches(boolean dontCloseBatches)
public Logger getLogger()
public void setProxy(AbstractProxySettings proxySettings)
public AbstractProxySettings getProxy()
public String getAgentId()
public Reference getManagerRef()
public void setManagerRef(Reference managerRef)
managerRef - The manager referencepublic CommandExecutor getCommandExecutor()
public void setCommandExecutor(CommandExecutor commandExecutor)
commandExecutor - The command executorpublic Boolean isDontCloseBatches()
protected Refer getRefer()
Copyright © 2023. All rights reserved.