Class RealHtmlFileBrowse
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiFileBrowse
-
- com.axway.ats.uiengine.elements.html.HtmlFileBrowse
-
- com.axway.ats.uiengine.elements.html.realbrowser.RealHtmlFileBrowse
-
public class RealHtmlFileBrowse extends HtmlFileBrowse
An HTML File Select Button- See Also:
RealHtmlElement
-
-
Constructor Summary
Constructors Constructor Description RealHtmlFileBrowse(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Get the File Select Button valuevoidsetValue(String value)Set the File Select Button valuevoidsetValueUsingNativeDialog(String path)This method allows you to type in dialog windows.voidverifyNotValue(String notExpectedValue)Verify the File Select Button value is NOT as specifiedvoidverifyValue(String expectedValue)Verify the File Select Button value is as specified-
Methods inherited from class com.axway.ats.uiengine.elements.html.HtmlFileBrowse
setFileInputValue
-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
RealHtmlFileBrowse
public RealHtmlFileBrowse(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
getValue
public String getValue()
Get the File Select Button value- Specified by:
getValuein classUiFileBrowse- Returns:
-
setValue
public void setValue(String value)
Set the File Select Button value- Specified by:
setValuein classUiFileBrowse- Parameters:
value- the value to set
-
setValueUsingNativeDialog
public void setValueUsingNativeDialog(String path) throws Exception
This method allows you to type in dialog windows. This option is available only for Windows OS- Parameters:
path- add the location of the file, you want to type in the dialog window- Throws:
Exception
-
verifyValue
public void verifyValue(String expectedValue)
Verify the File Select Button value is as specified- Specified by:
verifyValuein classUiFileBrowse- Parameters:
expectedValue-
-
verifyNotValue
public void verifyNotValue(String notExpectedValue)
Verify the File Select Button value is NOT as specified- Specified by:
verifyNotValuein classUiFileBrowse- Parameters:
notExpectedValue-
-
-