public class EInput extends BaseObject
Fields inherited from class | Fields |
---|---|
class BaseObject |
driver, element, loggerName, parent, value |
Constructor and description |
---|
EInput
(WebDriver driver, WebElement selElement) |
Type Params | Return Type | Name and description |
---|---|---|
|
public Result |
checkState(Boolean state) Check if input element is enable or disable |
|
protected WebElement |
findParentElementRecursively(WebElement webElement) Find parent element by for attributed recursively |
|
protected WebElement |
findWebElementById(String id) Find web element by id |
|
public void |
getElementValue() |
|
public Result |
isDisable() Check if input element is disable |
|
public Result |
isEnable() Check if input element is enable |
Methods inherited from class | Name |
---|---|
class BaseObject |
checkText, click, doubleClick, getAttribute, getCssValue, getDriver, getElement, getElementAttribute, getElementText, getLoggerName, getValue, getWindowsTitle, handleTimeoutLoading, isAttributeContainsValues, isExist, isValueContain, mouseMove, refreshWebElement, reportHappyCase, reportUnhappyCase, rightClick, setDriver, setElement, setLoggerName, verifyStringContains, verifyStringExact, waitForPageLoaded |
Check if input element is enable or disable
bool
- expected stateFind parent element by for attributed recursively
Find web element by id
string
- idCheck if input element is disable
Check if input element is enable