Class AttachmentsField

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

public class AttachmentsField
extends Component
Represents an instance of One.form.AttachmentsField.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.openqa.selenium.WebElement inputEl  

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

    context, driver, element
  • Constructor Summary

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

    Modifier and Type Method Description
    void addFile​(java.lang.String path)  
    protected java.lang.String getId()  

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

    getEl, isDisplayed, isRequired

    Methods inherited from class java.lang.Object

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

    • inputEl

      protected final org.openqa.selenium.WebElement inputEl
  • Constructor Details

  • Method Details

    • addFile

      public void addFile​(java.lang.String path)
    • getId

      protected java.lang.String getId()
      Overrides:
      getId in class Component