Class TLV


public class TLV
extends Frame
Represents an instance of a TLV report.
  • Field Details

  • Constructor Details

    • TLV

      public TLV​(UIContext context, org.openqa.selenium.WebElement iframeEl)
      This constructor will initialize component class based on the current test browser. and delegate all API calls to the respective component class.
      Parameters:
      context -
      iframeEl -
  • Method Details

    • getFilterOverlay

      public FilterOverlay getFilterOverlay()
    • getHeaderReport

      public org.openqa.selenium.WebElement getHeaderReport()
    • displayHeaderReport

      public void displayHeaderReport​(boolean display)
    • isGraphPresent

      public boolean isGraphPresent()
    • displayGraph

      public void displayGraph​(boolean display)
    • getTableEl

      public org.openqa.selenium.WebElement getTableEl()
    • executeSearch

      public void executeSearch()
    • getColumnHierarchyCount

      public int getColumnHierarchyCount()
    • getBuckets

      public java.util.List<java.lang.String> getBuckets()
    • getBucketsCount

      public int getBucketsCount()
    • getRows

      public java.util.List<org.openqa.selenium.WebElement> getRows()
    • getHiddenRows

      public java.util.List<org.openqa.selenium.WebElement> getHiddenRows()
    • startCustomization

      public void startCustomization()
    • startCustomization

      public void startCustomization​(TLV.TLV_CUSTOMIZATION_LEVEL level)
    • finishCustomization

      public void finishCustomization()
    • resetToDefault

      public void resetToDefault()
    • resetToDefaultForNeo

      public TLV resetToDefaultForNeo​(NeoDesktop neoDesktop)
      In cases of Neo UI, after the TLV is refreshed, the elements of the old TLV throw StaleElementReference. Hence, this method after deleting the existing customization records, refreshes the TLV and then returns a fresh instance of TLV. Accepts a paramter of NeoDesktop to perform certain operations that require the context of the new NeoDesktop.
      Parameters:
      neoDesktop -
      Returns:
    • openManageCustomizationReport

      public Tab openManageCustomizationReport()
    • executeSave

      public void executeSave()
    • getDMName

      public java.lang.String getDMName​(int rowIdx)
    • getDMValue

      public java.lang.String getDMValue​(int rowIdx, int colIdx)
    • findDMIndex

      public int findDMIndex​(int rowIdx, <any> condition)
    • getDMValuesByHierarchy

      public java.util.List<java.lang.String> getDMValuesByHierarchy​(java.lang.String dmName, java.lang.String... hierarchyColumnValues)
    • clickGraphCheckBox

      public void clickGraphCheckBox​(int rowIdx)
    • clickGraphCheckBox

      public void clickGraphCheckBox​(java.lang.String dmName, java.lang.String... hierarchyColumnValues)
    • getCell

      public org.openqa.selenium.WebElement getCell​(java.lang.String dmName, int colIdx)
    • addDMAbove

      public void addDMAbove​(int rowIdx, java.lang.String name, java.lang.String expr)
    • addDMAbove

      public void addDMAbove​(int rowIdx, java.lang.String name, java.lang.String expr, java.lang.Boolean isGroup)
    • addDMBelow

      public void addDMBelow​(int rowIdx, java.lang.String name, java.lang.String expr)
    • addDMBelow

      public void addDMBelow​(int rowIdx, java.lang.String name, java.lang.String expr, java.lang.Boolean isGroup)
    • editDM

      public void editDM​(int rowIdx, java.lang.String name, java.lang.String expr)
    • editDM

      public void editDM​(int rowIdx, java.lang.String name, java.lang.String expr, java.lang.Boolean isGroup)
    • deleteDM

      public void deleteDM​(int rowIdx)
    • hideDM

      public void hideDM​(int rowIdx)
    • showDM

      public void showDM​(int rowIdx)
    • waitUntilReloaded

      public void waitUntilReloaded()
    • waitUntilRowsUpdated

      public void waitUntilRowsUpdated()
    • setEditableDMValue

      public void setEditableDMValue​(java.lang.String dataMeasureName, int dmInstance, int bucketIndex, java.lang.String val)
    • getErrorMessage

      public org.openqa.selenium.WebElement getErrorMessage()
    • clickNextPage

      public void clickNextPage()
    • clickDownPage

      public void clickDownPage()
    • clickUpPage

      public void clickUpPage()
    • clickPrevPage

      public void clickPrevPage()
    • clickNextPageNeo

      public void clickNextPageNeo()
    • clickDownPageNeo

      public void clickDownPageNeo()
    • clickUpPageNeo

      public void clickUpPageNeo()
    • clickPrevPageNeo

      public void clickPrevPageNeo()
    • dragAndDropDM

      public void dragAndDropDM​(int sourceDMIndex, int targetDMIndex, TLV.DnDOperation operation)
    • dragAndDropDMForNeo

      public TLV dragAndDropDMForNeo​(int sourceDMIndex, int targetDMIndex, TLV.DnDOperation operation, NeoDesktop neoDesktop, int offsetY)
    • isGroupDM

      public java.lang.Boolean isGroupDM​(int rowIdx)
    • getWindow

      public Window getWindow()
      Description copied from class: Container
      Returns the first visible Window in the Container, or throws a NoSuchElementException if none was found.
      Overrides:
      getWindow in class Container