public class Timeout
extends java.lang.Object
Usage:
Timeout timeout = new Timeout(solo);
Modifier and Type | Method and Description |
---|---|
int |
getLargeTimeout()
Gets the default timeout length of the waitFor methods.
|
int |
getSmallTimeout()
Gets the default timeout length of the get, is, set, assert, enter and click methods.
|
boolean |
setLargeTimeout(int milliseconds)
Sets the default timeout length of the waitFor methods.
|
boolean |
setSmallTimeout(int milliseconds)
Sets the default timeout length of the get, is, set, assert, enter and click methods.
|
public Timeout(Solo solo)
public boolean setLargeTimeout(int milliseconds) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
milliseconds,
- int, the timeout of the waitFor methods, in milliseconds.java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
public boolean setSmallTimeout(int milliseconds) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
milliseconds,
- int, the timeout of the get, is, set, assert, enter and click methods, in milliseconds.java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
public int getLargeTimeout() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
public int getSmallTimeout() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
Copyright © SAS Institute. All Rights Reserved.