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.IllegalThreadStateExceptionRemoteExceptionjava.util.concurrent.TimeoutExceptionShutdownInvocationExceptionpublic 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.IllegalThreadStateExceptionRemoteExceptionjava.util.concurrent.TimeoutExceptionShutdownInvocationExceptionpublic int getLargeTimeout()
throws java.lang.IllegalThreadStateException,
RemoteException,
java.util.concurrent.TimeoutException,
ShutdownInvocationException
java.lang.IllegalThreadStateExceptionRemoteExceptionjava.util.concurrent.TimeoutExceptionShutdownInvocationExceptionpublic int getSmallTimeout()
throws java.lang.IllegalThreadStateException,
RemoteException,
java.util.concurrent.TimeoutException,
ShutdownInvocationException
java.lang.IllegalThreadStateExceptionRemoteExceptionjava.util.concurrent.TimeoutExceptionShutdownInvocationExceptionCopyright © SAS Institute. All Rights Reserved.