Package com.axway.ats.uiengine.elements
Class UiFileBrowse
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiFileBrowse
-
- Direct Known Subclasses:
HtmlFileBrowse
,SwingFileBrowse
public abstract class UiFileBrowse extends UiElement
Html File Browse
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Constructor Summary
Constructors Constructor Description UiFileBrowse(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
getValue()
Get the Text Box valueabstract void
setValue(String value)
Set the Text Box value File path must be set according to the current OS, '\' for Windows and '/' for UNIX-like systems, if file path is not valid this method does not set any 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
-
UiFileBrowse
public UiFileBrowse(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
setValue
public abstract void setValue(String value)
Set the Text Box value File path must be set according to the current OS, '\' for Windows and '/' for UNIX-like systems, if file path is not valid this method does not set any value- Parameters:
value
-
-
getValue
public abstract String getValue()
Get the Text Box value- Returns:
-
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
-
-
-