Class FileInput
- java.lang.Object
-
- com.epam.jdi.light.elements.base.UIBaseElement<com.epam.jdi.light.asserts.generic.TextAssert>
-
- com.epam.jdi.light.ui.html.elements.common.FileInput
-
- All Implemented Interfaces:
com.epam.jdi.light.asserts.generic.HasAssert<com.epam.jdi.light.asserts.generic.TextAssert>,com.epam.jdi.light.elements.interfaces.base.HasCache,com.epam.jdi.light.elements.interfaces.base.HasInit,com.epam.jdi.light.elements.interfaces.base.HasLabel,com.epam.jdi.light.elements.interfaces.base.HasValue,com.epam.jdi.light.elements.interfaces.base.IBaseElement,com.epam.jdi.light.elements.interfaces.base.ICoreElement,com.epam.jdi.light.elements.interfaces.base.INamed,com.epam.jdi.light.elements.interfaces.base.JDIElement,com.epam.jdi.light.elements.interfaces.base.SetValue,com.epam.jdi.light.elements.interfaces.common.IsText
public class FileInput extends com.epam.jdi.light.elements.base.UIBaseElement<com.epam.jdi.light.asserts.generic.TextAssert> implements com.epam.jdi.light.elements.interfaces.base.HasLabel, com.epam.jdi.light.elements.interfaces.common.IsText, com.epam.jdi.light.elements.interfaces.base.SetValueCreated by Roman Iovlev on 26.09.2019 Email: roman.iovlev.jdi@gmail.com; Skype: roman.iovlev
-
-
Constructor Summary
Constructors Constructor Description FileInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()com.epam.jdi.light.asserts.generic.TextAssertis()voidsetValue(String value)Stringtext()voiduploadFile(String path)voiduploadFileWithRobot(String path, long mSec)-
Methods inherited from class com.epam.jdi.light.elements.base.UIBaseElement
base, core, init, linked, linkedList, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.epam.jdi.light.asserts.generic.HasAssert
assertThat, has, shouldBe, verify, waitFor, waitFor
-
Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.HasLabel
hasLabel, label, labelText
-
Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.IBaseElement
base, getFullName, getName, isUseCache, offCache, setCore, setName, setTimeout, setup, waitSec
-
Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.ICoreElement
attr, attrs, children, classes, classLike, classLike, command, commands, core, css, doubleClick, dragAndDropTo, dragAndDropTo, find, find, find, finds, finds, finds, firstChild, getDirectionTo, getDirectionTo, getLocation, getSize, getTagName, hasAttribute, hasClass, highlight, highlight, hover, iCore, isAbove, isAbove, isBelow, isBelow, isDisabled, isDisplayed, isEnabled, isExist, isHidden, isNotExist, isNotVisible, isOnLeftOf, isOnLeftOf, isOnRightOf, isOnRightOf, isVisible, pasteText, pasteText, press, printHtml, pseudo, rightClick, setAttribute, should, shouldBe, show, visualValidation, visualValidation, waitFor, waitFor, with
-
-
-
-
Method Detail
-
uploadFile
public void uploadFile(String path)
-
uploadFileWithRobot
public void uploadFileWithRobot(String path, long mSec)
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfacecom.epam.jdi.light.elements.interfaces.base.SetValue
-
text
public String text()
- Specified by:
textin interfacecom.epam.jdi.light.elements.interfaces.common.IsText
-
getValue
public String getValue()
- Specified by:
getValuein interfacecom.epam.jdi.light.elements.interfaces.base.HasValue- Specified by:
getValuein interfacecom.epam.jdi.light.elements.interfaces.common.IsText
-
is
public com.epam.jdi.light.asserts.generic.TextAssert is()
- Specified by:
isin interfacecom.epam.jdi.light.asserts.generic.HasAssert<com.epam.jdi.light.asserts.generic.TextAssert>- Overrides:
isin classcom.epam.jdi.light.elements.base.UIBaseElement<com.epam.jdi.light.asserts.generic.TextAssert>
-
-