Class SwingTextArea
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiTextArea
-
- com.axway.ats.uiengine.elements.swing.SwingTextArea
-
public class SwingTextArea extends UiTextArea
A Swing Text Area/FieldCan be identified by:
- name
- label
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Constructor Summary
Constructors Constructor Description SwingTextArea(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendValue(String value)Works in same way as the 'set text' methodStringgetValue()Get text area valuevoidsetValue(String value)Set text area valuevoidverifyNotValue(String notExpectedValue)Verify the Text Area value is NOT as specifiedvoidverifyValue(String expectedValue)Verify the Text Area value is as specified-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
SwingTextArea
public SwingTextArea(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
getValue
public String getValue()
Get text area value- Specified by:
getValuein classUiTextArea- Returns:
- Throws:
VerificationException- if the text area element doesn't exist
-
setValue
public void setValue(String value)
Set text area value- Specified by:
setValuein classUiTextArea- Parameters:
value- the value to set- Throws:
VerificationException- if the element doesn't exist
-
appendValue
public void appendValue(String value)
Works in same way as the 'set text' method- Specified by:
appendValuein classUiTextArea- Parameters:
value-
-
verifyValue
public void verifyValue(String expectedValue)
Verify the Text Area value is as specified- Specified by:
verifyValuein classUiTextArea- Parameters:
expectedValue-- Throws:
VerificationException- if the element doesn't existVerifyEqualityException- if the verification fails
-
verifyNotValue
public void verifyNotValue(String notExpectedValue)
Verify the Text Area value is NOT as specified- Specified by:
verifyNotValuein classUiTextArea- Parameters:
notExpectedValue-- Throws:
VerificationException- if the element doesn't existVerifyNotEqualityException- if the verification fails
-
-