Class BooleanField

java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.BooleanField

public class BooleanField
extends Component
Represents an instance of either Ext.form.Checkbox or One.form.BooleanField, depending on the markup present.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.openqa.selenium.WebElement inputEl  
    protected org.openqa.selenium.WebElement triggerEl  
    protected com.onenetwork.platform.tools.test.ui.components.BooleanField.BoolType type  

    Fields inherited from class com.onenetwork.platform.tools.test.ui.components.Component

    context, driver, element
  • Constructor Summary

    Constructors 
    Constructor Description
    BooleanField​(UIContext context, org.openqa.selenium.WebElement formItemEl)  
  • Method Summary

    Modifier and Type Method Description
    void clearValue()  
    org.openqa.selenium.WebElement getInputEl()  
    org.openqa.selenium.WebElement getTriggerEl()  
    com.onenetwork.platform.tools.test.ui.components.BooleanField.BoolType getType()  
    java.lang.Boolean getValue()  
    void setValue​(java.lang.Boolean val)  

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

    getEl, getId, isDisplayed, isRequired

    Methods inherited from class java.lang.Object

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

    • type

      protected com.onenetwork.platform.tools.test.ui.components.BooleanField.BoolType type
    • inputEl

      protected final org.openqa.selenium.WebElement inputEl
    • triggerEl

      protected org.openqa.selenium.WebElement triggerEl
  • Constructor Details

  • Method Details

    • setValue

      public void setValue​(java.lang.Boolean val)
    • clearValue

      public void clearValue()
    • getValue

      public java.lang.Boolean getValue()
    • getInputEl

      public org.openqa.selenium.WebElement getInputEl()
    • getTriggerEl

      public org.openqa.selenium.WebElement getTriggerEl()
    • getType

      public com.onenetwork.platform.tools.test.ui.components.BooleanField.BoolType getType()