Class NeoLegacyPerspective
java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.Container
com.onenetwork.platform.tools.test.ui.components.Frame
com.onenetwork.platform.tools.test.ui.neo.components.NeoLegacyPerspective
- All Implemented Interfaces:
IPerspective
public class NeoLegacyPerspective extends Frame implements IPerspective
Represents an implementation of
Frame
class
to represents older legacy components like TLV, Report etc-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_NAME
protected java.lang.String
perspectiveClass
protected java.lang.String
title
Fields inherited from class com.onenetwork.platform.tools.test.ui.components.Frame
iframeEl, parentFrame
-
Constructor Summary
Constructors Constructor Description NeoLegacyPerspective(UIContext context)
NeoLegacyPerspective(UIContext context, org.openqa.selenium.WebElement iframeEl)
-
Method Summary
Modifier and Type Method Description void
close()
Closes the current Perspectiveorg.openqa.selenium.WebElement
getEl()
Returns the underlying element which represents this Component.java.lang.String
getPerspectiveClass()
Report
getReport()
Used to get Report instance from the currently opened active Perspective framejava.lang.String
getTitle()
Returns the title of the frameMethods inherited from class com.onenetwork.platform.tools.test.ui.components.Frame
getDriver, getIFrameEl, getParentFrame, getSearchContext, getTLV, getUIContext, setParentFrame, switchDriver
Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Container
clickAction, clickAction, clickMenuItem, clickOneLogo, createFieldFromLabel, findXTypeFromInput, getActions, getActions, getButton, getCC1InnerTab, getComponent, getDashboard, getFieldByLabel, getFieldByLabelCC15, getFieldByLabelFlux, getFieldByLabelNew, getFieldByMultiLineLabel, getFieldByName, getFieldError, getFilterOverlayPanel, getFormPanel, getGrid, getGridByClass, getGrids, getLink, getMenu, getMessagePanel, getMessagePanelFlux, getNotificationCollaboration, getProbelmDetail, getProblemList, getReadOnlyFieldByLabelCC15, getReports, getSearchPageContext, getTabPanel, getTabPanelByClass, getTemplateDisplay, getTreePanel, getWindow, getWindows, getXTypeFromFormItem, getXTypeFromId, getXTypeFromLabel, isRequired, waitForSuccessMessage
Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Component
getId, isDisplayed, isRequired
-
Field Details
-
COMPONENT_NAME
public static final java.lang.String COMPONENT_NAME- See Also:
- Constant Field Values
-
title
protected java.lang.String title -
perspectiveClass
protected java.lang.String perspectiveClass
-
-
Constructor Details
-
Method Details
-
getTitle
public java.lang.String getTitle()Returns the title of the frame- Specified by:
getTitle
in interfaceIPerspective
- See Also:
IPerspective.getTitle()
-
getReport
Used to get Report instance from the currently opened active Perspective frame- Overrides:
getReport
in classContainer
- Returns:
- See Also:
Container.getReport()
-
close
public void close()Closes the current Perspective- Specified by:
close
in interfaceIPerspective
- See Also:
IPerspective.close()
-
getPerspectiveClass
public java.lang.String getPerspectiveClass()- Specified by:
getPerspectiveClass
in interfaceIPerspective
-
getEl
public org.openqa.selenium.WebElement getEl()Description copied from class:Component
Returns the underlying element which represents this Component.- Specified by:
getEl
in interfaceIPerspective
- Overrides:
getEl
in classComponent
- See Also:
Component.getEl()
-