public class SwingFileBrowse extends UiFileBrowse
log, properties| Constructor and Description |
|---|
SwingFileBrowse(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
clickApprove()
Click the Approve button (labeled "Open" or "Save", by default).
|
void |
clickCancel()
Click the Cancel button
|
String |
getValue()
Get the value of the 'File Name' text field
|
void |
setValue(String value)
Set value in the 'File Name' text field
|
void |
verifyNotValue(String notExpectedValue)
Verifies that the value of 'File Name' text field is different from the expected
|
void |
verifyValue(String expectedValue)
Verifies that the value of 'File Name' text field is as expected
|
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toStringpublic SwingFileBrowse(UiDriver uiDriver, UiElementProperties properties)
public void clickApprove()
VerificationException - if the element doesn't existpublic void clickCancel()
VerificationException - if the element doesn't existpublic void setValue(String value)
setValue in class UiFileBrowsevalue - the text value to setpublic String getValue()
getValue in class UiFileBrowsepublic void verifyValue(String expectedValue)
verifyValue in class UiFileBrowseexpectedValue - the expected text valueVerifyEqualityException - if the expected text value is different from the actualpublic void verifyNotValue(String notExpectedValue)
verifyNotValue in class UiFileBrowsenotExpectedValue - the NOT expected text valueVerifyNotEqualityException - if the expected text value is equal with the actualCopyright © 2017 Axway Software. All rights reserved.