org.fest.assertions.fluentlenium.custom
Class FluentWebElementAssert

java.lang.Object
  extended by org.fest.assertions.Assert
      extended by org.fest.assertions.GenericAssert<FluentWebElementAssert,FluentWebElement>
          extended by org.fest.assertions.fluentlenium.custom.FluentWebElementAssert

public class FluentWebElementAssert
extends org.fest.assertions.GenericAssert<FluentWebElementAssert,FluentWebElement>


Field Summary
 
Fields inherited from class org.fest.assertions.GenericAssert
actual, myself
 
Constructor Summary
FluentWebElementAssert(FluentWebElement actual)
           
 
Method Summary
 FluentWebElementAssert hasNotText(String textToFind)
          check if the element does not contain the text
 FluentWebElementAssert hasText(String textToFind)
          check if the element contains the text
 FluentWebElementAssert isDisplayed()
          check if the element is displayed
 FluentWebElementAssert isEnabled()
          check if the element is enabled
 FluentWebElementAssert isNotDisplayed()
          check if the element is not displayed
 FluentWebElementAssert isNotEnabled()
          check if the element is not enabled
 FluentWebElementAssert isNotSelected()
          check if the element is not selected
 FluentWebElementAssert isSelected()
          check if the element is selected
 
Methods inherited from class org.fest.assertions.GenericAssert
as, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfies
 
Methods inherited from class org.fest.assertions.Assert
customErrorMessage, description, description, description, equals, fail, fail, failIfCustomMessageIsSet, failIfCustomMessageIsSet, failure, formattedErrorMessage, hashCode, rawDescription, replaceDefaultErrorMessagesWith
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FluentWebElementAssert

public FluentWebElementAssert(FluentWebElement actual)
Method Detail

isEnabled

public FluentWebElementAssert isEnabled()
check if the element is enabled

Returns:

isNotEnabled

public FluentWebElementAssert isNotEnabled()
check if the element is not enabled

Returns:

isDisplayed

public FluentWebElementAssert isDisplayed()
check if the element is displayed

Returns:

isNotDisplayed

public FluentWebElementAssert isNotDisplayed()
check if the element is not displayed

Returns:

isSelected

public FluentWebElementAssert isSelected()
check if the element is selected

Returns:

isNotSelected

public FluentWebElementAssert isNotSelected()
check if the element is not selected

Returns:

hasText

public FluentWebElementAssert hasText(String textToFind)
check if the element contains the text

Returns:

hasNotText

public FluentWebElementAssert hasNotText(String textToFind)
check if the element does not contain the text

Returns:


Copyright © 2012 AConsulting. All Rights Reserved.