Package com.axway.ats.uiengine.elements
Class UiConfirm
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiConfirm
-
- Direct Known Subclasses:
HtmlConfirm
public abstract class UiConfirm extends UiElement
JavaScript Confirm. Only one prompt can be present at a time.
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
clickCancel()
Clicks Cancel buttonabstract void
clickCancel(String expectedConfirmText)
Clicks OK button if the expected confirm text matches with the actualabstract void
clickOk()
Clicks OK buttonabstract void
clickOk(String expectedConfirmText)
Clicks OK button if the expected confirm text matches with the actual-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
UiConfirm
public UiConfirm(UiDriver uiDriver)
-
-
Method Detail
-
clickOk
public abstract void clickOk()
Clicks OK button
-
clickOk
public abstract void clickOk(String expectedConfirmText)
Clicks OK button if the expected confirm text matches with the actual
-
clickCancel
public abstract void clickCancel()
Clicks Cancel button
-
clickCancel
public abstract void clickCancel(String expectedConfirmText)
Clicks OK button if the expected confirm text matches with the actual
-
-