org.netbeans.jemmy.operators |
Operators package
Operators package
Contains so called "operators".
Operator is a test-side representation for a component. Each particular operator
class provides all the functionality to work with one component type. For example
JButtonOperator covers javax.swing.JButton .
Operators inheritance tree exactly matches component types inheritance:
AbstractButton extending JComponent means that
AbstractBittonOperator extends JComponentOperator .
Every operator provides, basicly, all the methods to reproduce user actions
which can be performed on a component type covered by operator.
Every operator also provides mapping functionality: API to invoke component
method during the event queue. For example, AbstractButtonOperator has
getText() method which simply invokes AbstractButton.getText()
through the queue.
@since 23 Feb 2002
|
Java Source File Name | Type | Comment |
AbstractButtonOperator.java | Class |
Timeouts used:
AbstractButtonOperator.PushButtonTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled
ComponentOperator.WaitStateTimeout - time to wait for text . |
AbstractButtonOperatorTest.java | Class | A JUnit test for AbstractButtonOperator. |
ButtonOperator.java | Class |
Timeouts used:
ButtonOperator.PushButtonTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
ButtonOperatorTest.java | Class | |
CheckboxOperator.java | Class |
Timeouts used:
ButtonOperator.PushButtonTimeout - time between checkbox pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait checkbox displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait checkbox enabled . |
CheckboxOperatorTest.java | Class | A JUnit test for CheckboxOperator. |
ChoiceOperator.java | Class |
Timeouts used:
ButtonOperator.PushButtonTimeout - time between choice pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait choice displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait choice enabled . |
ChoiceOperatorTest.java | Class | A JUnit test for ChoiceOperator. |
ComponentOperator.java | Class | Root class for all component operators.
Provides basic methods to operate with mouse and keyboard.
Almost all input methods can throw JemmyInputException or its subclass.
ComponentOperator and its subclasses has a lot of methods which name and parameters just like
consistent component has. |
ComponentOperatorTest.java | Class | A JUnit test for ComponentOperator. |
ContainerOperator.java | Class |
Timeouts used:
ComponentOperator.WaitComponentTimeout - time to wait container displayed . |
ContainerOperatorTest.java | Class | A JUnit test for ContainerOperator. |
DialogOperator.java | Class |
Timeouts used:
DialogWaiter.WaitDialogTimeout - time to wait dialog displayed
DialogWaiter.AfterDialogTimeout - time to sleep after dialog has been dispayed
ComponentOperator.WaitStateTimeout - time to wait for title . |
DialogOperatorTest.java | Class | A JUnit test for DialogOperator. |
FrameOperator.java | Class |
Timeouts used:
FrameWaiter.WaitFrameTimeout - time to wait frame displayed
FrameWaiter.AfterFrameTimeout - time to sleep after frame has been dispayed
ComponentOperator.WaitStateTimeout - time to wait for text . |
FrameOperatorTest.java | Class | A JUnit test for FrameOperator. |
JButtonOperator.java | Class |
Timeouts used:
AbstractButtonOperator.PushButtonTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JButtonOperatorTest.java | Class | A JUnit test for JButtonOperator. |
JCheckBoxMenuItemOperator.java | Class |
Timeouts used:
JMenuItemOperator.PushMenuTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JCheckBoxMenuItemOperatorTest.java | Class | A JUnit test for JCheckBoxMenuItemOperator. |
JCheckBoxOperator.java | Class |
Timeouts used:
AbstractButtonOperator.PushButtonTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JCheckBoxOperatorTest.java | Class | A JUnit test for JCheckBoxOperatorTest. |
JColorChooserOperator.java | Class | Class provides methods to cover main JColorChooser component functionality. |
JColorChooserOperatorTest.java | Class | A JUnit test for JColorChooserOperator. |
JComboBoxOperator.java | Class |
Timeouts used:
JComboBoxOperator.BeforeSelectingTimeout - time to sleep after list opened and before item selected
JComboBoxOperator.WaitListTimeout - time to wait list opened
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait component enabled
ComponentOperator.WaitStateTimeout - time to wait for item to be selected
AbstractButtonOperator.PushButtonTimeout - time between combo button pressing and releasing
ComponentOperator.MouseClickTimeout - time between mouse pressing and releasing during item selecting
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text . |
JComboBoxOperatorTest.java | Class | A JUnit test for JComboBoxOperator. |
JComponentOperator.java | Class |
Timeouts used:
JComponentOperator.WaitToolTipTimeout - time to wait tool tip displayed
JComponentOperator.ShowToolTipTimeout - time to show tool tip
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
JComponentOperatorTest.java | Class | A JUnit test for JComponentOperator. |
JDialogOperator.java | Class |
Timeouts used:
DialogWaiter.WaitDialogTimeout - time to wait dialog displayed
DialogWaiter.AfterDialogTimeout - time to sleep after dialog has been dispayed . |
JDialogOperatorTest.java | Class | A JUnit test for JDialogOperator. |
JEditorPaneOperator.java | Class | Class provides basic functions to operate with JEditorPane
(selection, typing, deleting)
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to change caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JEditorPaneOperatorTest.java | Class | A JUnit test for JEditorPaneOperator. |
JFileChooserOperator.java | Class | Class provides methods to cover main JFileChooser component functionality. |
JFileChooserOperatorTest.java | Class | A JUnit test for JFileChooser. |
JFrameOperator.java | Class |
Timeouts used:
FrameWaiter.WaitFrameTimeout - time to wait frame displayed
FrameWaiter.AfterFrameTimeout - time to sleep after frame has been dispayed . |
JFrameOperatorTest.java | Class | A JUnit test for JFrameOperator. |
JInternalFrameOperator.java | Class | Class provides necessary functionality to operate with javax.swing.JInternalFrame component. |
JInternalFrameOperatorTest.java | Class | A JUnit test for JInternalFrameOperator. |
JLabelOperator.java | Class |
Timeouts used:
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitStateTimeout - time to wait for text . |
JLabelOperatorTest.java | Class | A JUnit test for JLabelOperator. |
JListOperator.java | Class |
Timeouts used:
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitStateTimeout - time to wait for item, and for item to be selected
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JListOperatorTest.java | Class | A JUnit test for JListOperator. |
JMenuBarOperator.java | Class |
Timeouts used:
JMenuOperator.WaitBeforePopupTimeout - time to sleep before popup expanding
JMenuOperator.WaitPopupTimeout - time to wait popup displayed
ComponentOperator.WaitComponentTimeout - time to wait button displayed . |
JMenuBarOperatorTest.java | Class | A JUnit test for JMenuBarOperator. |
JMenuItemOperator.java | Class |
Timeouts used:
JMenuItemOperator.PushMenuTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JMenuItemOperatorTest.java | Class | A JUnit test for JMenuItemOperator. |
JMenuOperator.java | Class |
Timeouts used:
JMenuOperator.WaitBeforePopupTimeout - time to sleep before popup expanding
JMenuOperator.WaitPopupTimeout - time to wait popup displayed
JMenuOperator.PushMenuTimeout - time for the whole menu operation
JMenuItemOperator.PushMenuTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JMenuOperatorTest.java | Class | A JUnit test for JMenuOperator. |
JPasswordFieldOperator.java | Class |
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JPasswordFieldOperatorTest.java | Class | A JUnit test for JPasswordFieldOperator. |
JPopupMenuOperator.java | Class |
Timeouts used:
JMenuOperator.WaitBeforePopupTimeout - time to sleep before popup expanding
JMenuOperator.WaitPopupTimeout - time to wait popup displayed
ComponentOperator.WaitComponentTimeout - time to wait button displayed
WindowWaiter.WaitWindowTimeout - time to wait popup window displayed
WindowWaiter.AfterWindowTimeout - time to sleep after popup window has been dispayed . |
JPopupMenuOperatorTest.java | Class | A JUnit test for JPopupMenuOperator. |
JProgressBarOperator.java | Class | Operator is supposed to be used to operate with an instance of
javax.swing.JProgressBar class. |
JProgressBarOperatorTest.java | Class | A JUnit test for JProgressBarOperator. |
JRadioButtonMenuItemOperator.java | Class |
Timeouts used:
JMenuItemOperator.PushMenuTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JRadioButtonMenuItemOperatorTest.java | Class | A JUnit test for JRadioButtonMenuItemOperator. |
JRadioButtonOperator.java | Class |
Timeouts used:
AbstractButtonOperator.PushButtonTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JRadioButtonOperatorTest.java | Class | A JUnit test for JRadioButtonOperator. |
JScrollBarOperator.java | Class | Operator is supposed to be used to operate with an instance of
javax.swing.JScrollBar class. |
JScrollBarOperatorTest.java | Class | A JUnit test for JScrollBarOperator. |
JScrollPaneOperator.java | Class |
Timeouts used:
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
JScrollPaneOperatorTest.java | Class | A JUnit test for JScrollPaneOperator. |
JSliderOperator.java | Class | Covers javax.swing.JSlider component.
Timeouts used:
JSliderOperator.WholeScrollTimeout - time for the whole scrolling. |
JSliderOperatorTest.java | Class | A JUnit test for JSliderOperator. |
JSpinnerOperator.java | Class | |
JSpinnerOperatorTest.java | Class | A JUnit test for JSpinnerOperator. |
JSplitPaneOperator.java | Class |
Timeouts used:
JSplitPaneOperator.ScrollClickTimeout - time for simple scroll click
JSplitPaneOperator.BetweenClickTimeout - time to sleep between scroll clicks
JSplitPaneOperator.WholeScrollTimeout - time for the whole scrolling
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
JSplitPaneOperatorTest.java | Class | A JUnit test for JSplitPaneOperator. |
JTabbedPaneOperator.java | Class |
Timeouts used:
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
JTabbedPaneOperatorTest.java | Class | A JUnit test for JTabbedPaneOperator. |
JTableHeaderOperator.java | Class | ComponentOperator.BeforeDragTimeout - time to sleep before column moving
ComponentOperator.AfterDragTimeout - time to sleep after column moving
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
JTableHeaderOperatorTest.java | Class | A JUnit test for JTableHeaderOperator. |
JTableOperator.java | Class |
Timeouts used:
JTableOperator.WaitEditingTimeout - time to wait cell editing
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitStateTimeout - time to wait for cell contents
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JTableOperatorTest.java | Class | A JUnit test for JTableOpertor. |
JTextAreaOperator.java | Class | Class provides basic functions to operate with JTextArea
(selection, typing, deleting)
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JTextAreaOperatorTest.java | Class | A JUnit test for JTextAreaOperator. |
JTextComponentOperator.java | Class | Class provides basic functions to operate with JTextComponent
(selection, typing, deleting)
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
ComponentOperator.WaitStateTimeout - time to wait for text
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JTextComponentOperatorTest.java | Class | A JUnit test for JTextComponent. |
JTextFieldOperator.java | Class |
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JTextFieldOperatorTest.java | Class | A JUnit test for JTextFieldOperator. |
JTextPaneOperator.java | Class |
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JTextPaneOperatorTest.java | Class | A JUnit test for JTextPaneOperator. |
JToggleButtonOperator.java | Class |
Timeouts used:
AbstractButtonOperator.PushButtonTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled . |
JToggleButtonOperatorTest.java | Class | A JUnit test for JToggleButtonOperator. |
JTreeOperator.java | Class |
Timeouts used:
JTreeOperator.WaitNodeExpandedTimeout - time to wait node expanded
JTreeOperator.WaitNodeCollapsedTimeout - time to wait node collapsed
JTreeOperator.WaitAfterNodeExpandedTimeout - time to to sleep after node expanded
JTreeOperator.WaitNextNodeTimeout - time to wait next node displayed
JTreeOperator.WaitNodeVisibleTimeout - time to wait node visible
JTreeOperator.BeforeEditTimeout - time to sleep before edit click
JTreeOperator.WaitEditingTimeout - time to wait node editing
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitStateTimeout - time to wait for path to be expanded, collapsed, selected,
time to wait for a text in a row
WindowWaiter.WaitWindowTimeout - time to wait popup window displayed
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling . |
JTreeOperatorTest.java | Class | A JUnit test for JTreeOperator. |
LabelOperator.java | Class |
Timeouts used:
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
LabelOperatorTest.java | Class | A JUnit test for LabelOperator. |
ListOperator.java | Class |
Timeouts used:
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait component enabled . |
ListOperatorTest.java | Class | A JUnit test for ListOperator. |
Operator.java | Class | Keeps all environment and low-level methods. |
OperatorTest.java | Class | A JUnit test for Operator. |
ScrollbarOperator.java | Class |
Timeouts used:
ScrollbarOperator.WholeScrollTimeout - time for one scroll click
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
ScrollbarOperatorTest.java | Class | A JUnit test for Scrollbar. |
ScrollPaneOperator.java | Class |
Timeouts used:
ScrollbarOperator.WholeScrollTimeout - time for one scroll click
ComponentOperator.WaitComponentTimeout - time to wait component displayed . |
ScrollPaneOperatorTest.java | Class | A JUnit test for ScrollPaneOperator. |
TextAreaOperator.java | Class | This operator type covers java.awt.textArea component. |
TextAreaOperatorTest.java | Class | A JUnit test for TextAreaOperator. |
TextComponentOperator.java | Class | This operator type covers java.awt.TextArea component. |
TextComponentOperatorTest.java | Class | A JUnit test for TextComponentOperator. |
TextFieldOperator.java | Class | This operator type covers java.awt.TextField component. |
TextFieldOperatorTest.java | Class | A JUnit test for TextFieldOperatorTest. |
WindowOperator.java | Class |
Timeouts used:
WindowWaiter.WaitWindowTimeout - time to wait window displayed
WindowWaiter.AfterWindowTimeout - time to sleep after window has been dispayed . |
WindowOperatorTest.java | Class | A JUnit test for WindowOperator. |