public class SwingComponent extends UiElement
Can be identified by:
log, properties| Constructor and Description |
|---|
SwingComponent(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
click()
Simulates a user click over the GUI component.
|
void |
doubleClick()
Simulates a user double click over the GUI component.
|
void |
drag()
Simulates a user dragging of this component
|
void |
drop()
Simulates a user dropping to this component
|
void |
focus()
Focusing the GUI component.
|
Component |
getNativeComponent()
Generic way to find and AWT/Swing component.
Not recommended for wide use. |
void |
middleClick()
Simulates a user middle click over the GUI component.
|
void |
rightClick()
Simulates a user right click over the GUI component.
|
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toStringpublic SwingComponent(UiDriver uiDriver, UiElementProperties properties)
public Component getNativeComponent()
Componentpublic void click()
public void doubleClick()
public void rightClick()
public void middleClick()
public void focus()
public void drag()
public void drop()
Copyright © 2017 Axway Software. All rights reserved.