Class PivotFieldsWindow
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.flexmonster.PivotFieldsWindow
public class PivotFieldsWindow extends NeoComponent
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COLUMNS_SECTION
static java.lang.String
COMPONENT_NAME
static org.openqa.selenium.By
dropFieldHere
static java.lang.String
PIVOT_FILTERS_SECTION
static java.lang.String
ROWS_SECTION
static java.lang.String
VALUES_SECTION
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description PivotFieldsWindow(NeoUIContext context, org.openqa.selenium.WebElement element)
Used to initialize the different buttons and sections present on Pivot Fields window. -
Method Summary
Modifier and Type Method Description void
addFieldsToColumns(java.lang.String... fieldName)
Used to add field to the columns from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}void
addFieldsToPivotFilters(java.lang.String... pivotFilter)
Used to add field to the pivot filters from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}void
addFieldsToRows(java.lang.String... fieldName)
Used to add field to the rows from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}void
addFieldsToValues(java.lang.String... valueField)
Used to add field to the values from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}void
clickOnApplyButton()
Used to click on Apply button present on pivot fields windowvoid
clickOnCancelButton()
Used to click on Cancel button present on pivot fields windowvoid
expandAllFields()
Used to expand All fields present under Fields sectionvoid
expandField(java.lang.String fieldName)
Used to expand the specific field from fields sectionvoid
removeFieldFromColumns(java.lang.String columnField)
Used to remove the field from columnsvoid
removeFieldFromPivotFilters(java.lang.String filterField)
Used to remove the field from pivot filtersvoid
removeFieldFromRows(java.lang.String rowField)
Used to remove the field from rowsvoid
removeFieldFromValues(java.lang.String valueField)
Used to remove the field from valuesMethods 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
-
ROWS_SECTION
public static final java.lang.String ROWS_SECTION- See Also:
- Constant Field Values
-
COLUMNS_SECTION
public static final java.lang.String COLUMNS_SECTION- See Also:
- Constant Field Values
-
PIVOT_FILTERS_SECTION
public static final java.lang.String PIVOT_FILTERS_SECTION- See Also:
- Constant Field Values
-
VALUES_SECTION
public static final java.lang.String VALUES_SECTION- See Also:
- Constant Field Values
-
dropFieldHere
public static final org.openqa.selenium.By dropFieldHere
-
-
Constructor Details
-
PivotFieldsWindow
Used to initialize the different buttons and sections present on Pivot Fields window.- Parameters:
context
-element
-
-
-
Method Details
-
clickOnApplyButton
public void clickOnApplyButton()Used to click on Apply button present on pivot fields window -
clickOnCancelButton
public void clickOnCancelButton()Used to click on Cancel button present on pivot fields window -
expandAllFields
public void expandAllFields()Used to expand All fields present under Fields section -
expandField
public void expandField(java.lang.String fieldName)Used to expand the specific field from fields section- Parameters:
fieldName
-
-
addFieldsToRows
public void addFieldsToRows(java.lang.String... fieldName)Used to add field to the rows from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}- Parameters:
fieldName
-
-
addFieldsToPivotFilters
public void addFieldsToPivotFilters(java.lang.String... pivotFilter)Used to add field to the pivot filters from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}- Parameters:
pivotFilter
-
-
addFieldsToColumns
public void addFieldsToColumns(java.lang.String... fieldName)Used to add field to the columns from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}- Parameters:
fieldName
-
-
addFieldsToValues
public void addFieldsToValues(java.lang.String... valueField)Used to add field to the values from all available fields If added field is not sub part of any field then this method takes String fieldName Or if added field is sub part of any field for ex "Test Date.Day" then this method takes input of String array like {"Test Date", "Day'}- Parameters:
valueField
-
-
removeFieldFromRows
public void removeFieldFromRows(java.lang.String rowField)Used to remove the field from rows- Parameters:
rowField
-
-
removeFieldFromColumns
public void removeFieldFromColumns(java.lang.String columnField)Used to remove the field from columns- Parameters:
columnField
-
-
removeFieldFromPivotFilters
public void removeFieldFromPivotFilters(java.lang.String filterField)Used to remove the field from pivot filters- Parameters:
filterField
-
-
removeFieldFromValues
public void removeFieldFromValues(java.lang.String valueField)Used to remove the field from values- Parameters:
valueField
-
-