Class Report
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.Report
public class Report extends Container
Represents an instance of
One.Report,
so it has the capability to support both views and reports.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
customModelName
static org.openqa.selenium.By
FILTER_ID
protected FilterOverlay
filterOverlay
protected Grid
grid
static org.openqa.selenium.By
GRID_ID
protected java.lang.String
reportName
protected java.lang.String
viewName
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
executeSearch()
Delegates toFilterOverlay.executeSearch()
, and then waits for the loading mask on the grid to disappear.java.lang.String
getCustomModelName()
Returns the custom model name of the view, or null if this is a report.FilterOverlay
getFilterOverlay()
Returns theFilterOverlay
instance, or null if the report has filters disabled.Grid
getGrid()
Returns this report's grid, or null if it hasn't been constructed yet.java.lang.String
getReportName()
Returns the name of the report, or null if this is a view.java.lang.String
getViewName()
Returns the view name, or null if this is a report.protected void
initComponents()
protected void
initProperties()
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, getGridByClass, getGrids, getLink, getMenu, getMessagePanel, getMessagePanelFlux, getNotificationCollaboration, getProbelmDetail, getProblemList, getReadOnlyFieldByLabelCC15, getReport, getReports, getSearchContext, getSearchPageContext, getTabPanel, getTabPanelByClass, getTemplateDisplay, getTreePanel, getWindow, getWindows, getXTypeFromFormItem, getXTypeFromId, getXTypeFromLabel, isRequired, switchDriver, waitForSuccessMessage
Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Component
getEl, getId, isDisplayed, isRequired
-
Field Details
-
reportName
protected java.lang.String reportName -
viewName
protected java.lang.String viewName -
customModelName
protected java.lang.String customModelName -
grid
-
filterOverlay
-
GRID_ID
public static org.openqa.selenium.By GRID_ID -
FILTER_ID
public static org.openqa.selenium.By FILTER_ID
-
-
Constructor Details
-
Method Details
-
initProperties
protected void initProperties() -
initComponents
protected void initComponents() -
executeSearch
public void executeSearch()Delegates toFilterOverlay.executeSearch()
, and then waits for the loading mask on the grid to disappear. -
getFilterOverlay
Returns theFilterOverlay
instance, or null if the report has filters disabled.- Returns:
-
getGrid
Returns this report's grid, or null if it hasn't been constructed yet. -
getReportName
public java.lang.String getReportName()Returns the name of the report, or null if this is a view.- Returns:
-
getViewName
public java.lang.String getViewName()Returns the view name, or null if this is a report.- Returns:
-
getCustomModelName
public java.lang.String getCustomModelName()Returns the custom model name of the view, or null if this is a report.- Returns:
-