abbot.tester
Class RobotVerifier
java.lang.Object
abbot.tester.RobotVerifier
- public class RobotVerifier
- extends Object
Provides methods to verify that the robot on the current platform works
properly.
Method Summary |
static boolean |
verify(Robot robot)
Auto-detect whether the robot actually works. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verify
public static boolean verify(Robot robot)
- Auto-detect whether the robot actually works.
Use this to tell whether we're in w32 pseudo-headless mode, such as
when in a remote shell (ssh) or running as a service. This is also
used as a delay mechanism to ensure the AWT subsystem is running
before continuing (particularly a problem on early OSX 1.4 VM
versions).
- Returns:
- false if the robot fails.
Copyright © 2002-2004 Timothy Wall. All Rights Reserved.
Abbot is hosted on