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 window
    void clickOnCancelButton()
    Used to click on Cancel button present on pivot fields window
    void expandAllFields()
    Used to expand All fields present under Fields section
    void expandField​(java.lang.String fieldName)
    Used to expand the specific field from fields section
    void removeFieldFromColumns​(java.lang.String columnField)
    Used to remove the field from columns
    void removeFieldFromPivotFilters​(java.lang.String filterField)
    Used to remove the field from pivot filters
    void removeFieldFromRows​(java.lang.String rowField)
    Used to remove the field from rows
    void removeFieldFromValues​(java.lang.String valueField)
    Used to remove the field from values

    Methods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent

    getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PivotFieldsWindow

      public PivotFieldsWindow​(NeoUIContext context, org.openqa.selenium.WebElement element)
      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 -