Package com.axway.ats.uiengine.elements
Class UiTextBox
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiTextBox
-
- Direct Known Subclasses:
HtmlTextBox
public abstract class UiTextBox extends UiElement
A Text Box that can be edited
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Constructor Summary
Constructors Constructor Description UiTextBox(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
appendValue(String value)
Append text to the current content of a Text Boxabstract String
getValue()
Get the Text Box valueabstract void
setValue(String value)
Set the Text Box valueabstract void
verifyNotValue(String notExpectedValue)
Verify the Text Box value is NOT as specifiedabstract void
verifyValue(String expectedValue)
Verify the Text Box value is as specified-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
UiTextBox
public UiTextBox(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
setValue
public abstract void setValue(String value)
Set the Text Box value- Parameters:
value
-
-
getValue
public abstract String getValue()
Get the Text Box value- Returns:
-
appendValue
public abstract void appendValue(String value)
Append text to the current content of a Text Box- Parameters:
value
-
-
verifyValue
public abstract void verifyValue(String expectedValue)
Verify the Text Box value is as specified- Parameters:
expectedValue
-
-
verifyNotValue
public abstract void verifyNotValue(String notExpectedValue)
Verify the Text Box value is NOT as specified- Parameters:
notExpectedValue
-
-
-