public class DialogDriver extends WindowDriver
Dialogs:
org.fest.swing.fixture in your tests.robot| Constructor and Description |
|---|
DialogDriver(Robot robot)
Creates a new
DialogDriver. |
| Modifier and Type | Method and Description |
|---|---|
void |
requireModal(Dialog dialog)
Asserts that the
is modal. |
close, moveTo, moveToBack, moveToFront, resizeHeightTo, resizeTo, resizeWidthTo, show, showmove, resize, resizeHeight, resizeWidthassertIsEnabledAndShowing, click, click, click, click, click, doubleClick, drag, dragOver, drop, focus, focusAndWaitForFocusGain, invokePopupMenu, invokePopupMenu, moveMouseIgnoringAnyError, moveMouseIgnoringAnyError, performAccessibleActionOf, pressAndReleaseKey, pressAndReleaseKey, pressAndReleaseKeys, pressKey, propertyName, releaseKey, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireSize, requireVisible, rightClick, settings, waitForShowingpublic DialogDriver(Robot robot)
DialogDriver.robot - the robot to use to simulate user input.@RunsInEDT public void requireModal(Dialog dialog)
Dialog is modal.dialog - the target Dialog.AssertionError - if this fixture's Dialog is not modal.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.