Package com.axway.ats.uiengine.engine
Class RealHtmlEngine
- java.lang.Object
-
- com.axway.ats.uiengine.internal.engine.AbstractEngine
-
- com.axway.ats.uiengine.engine.AbstractHtmlEngine
-
- com.axway.ats.uiengine.engine.RealHtmlEngine
-
- All Implemented Interfaces:
IHtmlEngine
public class RealHtmlEngine extends AbstractHtmlEngine implements IHtmlEngine
Engine operating over HTML application
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.internal.engine.AbstractEngine
elementsFactory, uiDriver
-
-
Constructor Summary
Constructors Constructor Description RealHtmlEngine(AbstractRealBrowserDriver realBrowserDriver)
-
Method Summary
-
Methods inherited from class com.axway.ats.uiengine.engine.AbstractHtmlEngine
clickBrowserBackButton, clickBrowserForwardButton, clickBrowserRefreshButton, closeActiveWindow, countElements, countElementsByCssSelector, deleteAllCookies, deleteCookieNamed, executeJavaScript, fireEvent, getCookies, getCurrentUrl, getPageSource, getWindowTitles, goToAnotherWindow, goToFirstWindowWithoutTitle, goToMainWindow, goToPage, goToWindow, goToWindow, reloadFrames, retrieveBrowserFocus, setCookie, setCookie
-
Methods inherited from class com.axway.ats.uiengine.internal.engine.AbstractEngine
getMapSection, loadMapFile, setMapSection
-
-
-
-
Constructor Detail
-
RealHtmlEngine
public RealHtmlEngine(AbstractRealBrowserDriver realBrowserDriver)
-
-
Method Detail
-
getUtilsElementState
public RealHtmlElementState getUtilsElementState(UiElement uiElement)
- Specified by:
getUtilsElementStatein interfaceIHtmlEngine- Parameters:
uiElement- the element to work with- Returns:
- a utility class for checking the state of an HTML element
-
getButton
public RealHtmlButton getButton(String mapId)
- Specified by:
getButtonin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Button instance
-
getButton
public RealHtmlButton getButton(UiElementProperties properties)
- Specified by:
getButtonin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Button instance
-
getTextBox
public RealHtmlTextBox getTextBox(String mapId)
- Specified by:
getTextBoxin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Text Box instance
-
getTextBox
public RealHtmlTextBox getTextBox(UiElementProperties properties)
- Specified by:
getTextBoxin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Text Box instance
-
getTextArea
public RealHtmlTextArea getTextArea(String mapId)
- Specified by:
getTextAreain interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Text Area instance
-
getTextArea
public RealHtmlTextArea getTextArea(UiElementProperties properties)
- Specified by:
getTextAreain interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Text Area instance
-
getCheckBox
public RealHtmlCheckBox getCheckBox(String mapId)
- Specified by:
getCheckBoxin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Check Box instance
-
getCheckBox
public RealHtmlCheckBox getCheckBox(UiElementProperties properties)
- Specified by:
getCheckBoxin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Check Box instance
-
getLink
public RealHtmlLink getLink(String mapId)
- Specified by:
getLinkin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Link instance
-
getLink
public RealHtmlLink getLink(UiElementProperties properties)
- Specified by:
getLinkin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Link instance
-
getSingleSelectList
public RealHtmlSingleSelectList getSingleSelectList(String mapId)
- Specified by:
getSingleSelectListin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Single Select List instance
-
getSingleSelectList
public RealHtmlSingleSelectList getSingleSelectList(UiElementProperties properties)
- Specified by:
getSingleSelectListin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Single Select List instance
-
getMultiSelectList
public RealHtmlMultiSelectList getMultiSelectList(String mapId)
- Specified by:
getMultiSelectListin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Multi Select List instance
-
getMultiSelectList
public RealHtmlMultiSelectList getMultiSelectList(UiElementProperties properties)
- Specified by:
getMultiSelectListin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Multi Select List instance
-
getRadioList
public RealHtmlRadioList getRadioList(String mapId)
- Specified by:
getRadioListin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Radio List instance
-
getRadioList
public RealHtmlRadioList getRadioList(UiElementProperties properties)
- Specified by:
getRadioListin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Radio List instance
-
getFileBrowse
public RealHtmlFileBrowse getFileBrowse(String mapId)
- Specified by:
getFileBrowsein interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML File Browse element
-
getFileBrowse
public RealHtmlFileBrowse getFileBrowse(UiElementProperties properties)
- Specified by:
getFileBrowsein interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML File Browse element
-
getTable
public RealHtmlTable getTable(String mapId)
- Specified by:
getTablein interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML Table instance
-
getTable
public RealHtmlTable getTable(UiElementProperties properties)
- Specified by:
getTablein interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML Table instance
-
getElement
public RealHtmlElement getElement(String mapId)
- Specified by:
getElementin interfaceIHtmlEngine- Parameters:
mapId- the element's map id- Returns:
- a new HTML element instance
-
getElement
public RealHtmlElement getElement(UiElementProperties properties)
- Specified by:
getElementin interfaceIHtmlEngine- Parameters:
properties- properties describing this element- Returns:
- a new HTML element instance
-
expectAlert
public RealHtmlAlert expectAlert()
- Specified by:
expectAlertin interfaceIHtmlEngine- Returns:
- HtmlAlert
-
expectPrompt
public RealHtmlPrompt expectPrompt()
- Specified by:
expectPromptin interfaceIHtmlEngine- Returns:
- HtmlPrompt
-
expectConfirm
public RealHtmlConfirm expectConfirm()
- Specified by:
expectConfirmin interfaceIHtmlEngine- Returns:
- HtmlConfirm
-
-