xframium / xframium-java

xFramium - Rapid unified test case development
http://www.xframium.org
GNU General Public License v3.0
12 stars 18 forks source link

Keyword for checking enabled/disabled #42

Closed shivajibr closed 7 years ago

shivajibr commented 8 years ago

Need to Implement keyword to check whether WebElement is enabled or disabled. The underlying code implementation will be WebElement.isEnabled() which returns true or false.

Alternate solution of using getAttribute will not work in all cases. If there is no attribute called "enabled" or "disabled" for the WebElement it returns null. Hence the need to implement a different keyword as stated above

xframium commented 7 years ago

keyword added