Class BasePivotTable
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoContainer
com.onenetwork.platform.tools.test.ui.neo.components.BasePivotTable
public class BasePivotTable extends NeoContainer
TODO complete the class documentation
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_NAME
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoContainer
ACTIVE_PERSPECTIVE
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description BasePivotTable(NeoUIContext context, org.openqa.selenium.WebElement element)
TODO complete constructor documentation -
Method Summary
Modifier and Type Method Description void
clickOnPivotTableButton()
Used to click on Pivot table buttonvoid
collapseRow(java.lang.String rowHeaderName)
Used to collapse the row based on passed row header namevoid
expandRow(java.lang.String rowHeaderName)
Used to expand the row based on passed row header nameorg.openqa.selenium.WebElement
getCell(int rowNum, java.lang.String header)
Used get the cell element based on last row column headers of pivot tablejava.lang.String
getCellValue(int rowNum, java.lang.String header)
Used get the cell value of pivot tableint
getColumnCount()
Used to get the column count of pivot tablejava.util.List<org.openqa.selenium.WebElement>
getColumnFilters()
FMConditionalFormatWindow
getConditionalFormattingWindow()
PivotFieldsWindow
getPivotFieldsWindow()
This method is used to open the pivot field window and returns the PivotFieldsWindow componentjava.util.List<java.lang.String>
getPivotTableHeaders(int rowIndex)
Used to get the pivot table headersjava.util.List<java.lang.String>
getPivotTableRowHeaders()
Used to pivot table row headersint
getRowCount()
Used to get the row count of pivot tablejava.util.List<org.openqa.selenium.WebElement>
getRowFilters()
java.util.List<org.openqa.selenium.WebElement>
getRows()
Used to get the rows element of pivot tableFMFilterWindow
openFilterByName(java.lang.String filterName)
Methods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoContainer
getAdvancedTable, getButton, getDashboard, getFieldByLabel, getFieldByLabel, getGrid, getGrids, getLink, getNeoMessagePanel, getNeoPivotTable, getNeoTabbedPane, getReport, getReports, getSearchContext, getWindow, isRequired, openFilterPanel, switchDriver
Methods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues, setValue
-
Field Details
-
COMPONENT_NAME
public static final java.lang.String COMPONENT_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
BasePivotTable
TODO complete constructor documentation- Parameters:
context
-element
-
-
-
Method Details
-
getRowFilters
public java.util.List<org.openqa.selenium.WebElement> getRowFilters() -
getColumnFilters
public java.util.List<org.openqa.selenium.WebElement> getColumnFilters() -
openFilterByName
-
getConditionalFormattingWindow
-
getPivotFieldsWindow
This method is used to open the pivot field window and returns the PivotFieldsWindow component- Returns:
- PivotFieldsWindow
-
clickOnPivotTableButton
public void clickOnPivotTableButton()Used to click on Pivot table button -
getPivotTableHeaders
public java.util.List<java.lang.String> getPivotTableHeaders(int rowIndex)Used to get the pivot table headers- Parameters:
rowIndex
- Pivot table is having multiple row which contains headers, So here we are taking the rowIndex as input and returning the headers for that row.
-
getPivotTableRowHeaders
public java.util.List<java.lang.String> getPivotTableRowHeaders()Used to pivot table row headers -
getRows
public java.util.List<org.openqa.selenium.WebElement> getRows()Used to get the rows element of pivot table -
getRowCount
public int getRowCount()Used to get the row count of pivot table -
getColumnCount
public int getColumnCount()Used to get the column count of pivot table -
getCell
public org.openqa.selenium.WebElement getCell(int rowNum, java.lang.String header)Used get the cell element based on last row column headers of pivot table- Parameters:
rowNum
-header
-
-
getCellValue
public java.lang.String getCellValue(int rowNum, java.lang.String header)Used get the cell value of pivot table- Parameters:
rowNum
-header
-
-
expandRow
public void expandRow(java.lang.String rowHeaderName)Used to expand the row based on passed row header name- Parameters:
rowHeaderName
-
-
collapseRow
public void collapseRow(java.lang.String rowHeaderName)Used to collapse the row based on passed row header name- Parameters:
rowHeaderName
-
-