Class SwingOptionPane
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.swing.SwingOptionPane
-
public class SwingOptionPane extends UiElement
A Swing Option Pane
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Constructor Summary
Constructors Constructor Description SwingOptionPane(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickButtonByText(String text)Click button by its textStringgetText()Getting the text of the Text fieldvoidsetText(String text)Setting text in the Text field-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
SwingOptionPane
public SwingOptionPane(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
clickButtonByText
public void clickButtonByText(String text)
Click button by its text- Parameters:
text- the text of button to click
-
setText
public void setText(String text)
Setting text in the Text field- Parameters:
text- the text to set
-
getText
public String getText()
Getting the text of the Text field- Returns:
- the text of the Text field
-
-