Package com.foreach.cuke.sahi.element

Examples of com.foreach.cuke.sahi.element.ElementDescriptor


                                                        Integer position,
                                                        String parentType,
                                                        String parentLocator,
                                                        Integer parentPosition,
                                                        String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ),
            find( parentType, parentLocator, parentPosition ), VerifyOperation.CONTAINS, false );
  }
View Full Code Here


  @Then("^(?:ensure that )?^(?:the )?" + StandardSahiSteps.ELEMENT_REGEX + " (?:should not contain|does not contain) \"([^\"]*)\"$")
  public void the_element_should_not_contain( String type,
                                              String locator,
                                              Integer position,
                                              String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ), null,
            VerifyOperation.CONTAINS, false );
  }
View Full Code Here

                                                    Integer position,
                                                    String parentType,
                                                    String parentLocator,
                                                    Integer parentPosition,
                                                    String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ),
            find( parentType, parentLocator, parentPosition ), VerifyOperation.CONTAINS, true );
  }
View Full Code Here

  @Then("^(?:ensure that )?^(?:the )?" + StandardSahiSteps.ELEMENT_REGEX + " (?:should contain|contains) \"([^\"]*)\"$")
  public void the_element_should_contain( String type,
                                          String locator,
                                          Integer position,
                                          String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ), null,
            VerifyOperation.CONTAINS, true );
  }
View Full Code Here

                                                           Integer position,
                                                           String parentType,
                                                           String parentLocator,
                                                           Integer parentPosition,
                                                           String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ),
            find( parentType, parentLocator, parentPosition ), VerifyOperation.STARTS_WITH, false );
  }
View Full Code Here

  @Then("^(?:ensure that )?" + StandardSahiSteps.ELEMENT_REGEX + " (?:should not start with|does not start with) \"([^\"]*)\"$")
  public void the_element_should_not_start_with( String type,
                                                 String locator,
                                                 Integer position,
                                                 String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ), null,
            VerifyOperation.STARTS_WITH, false );
  }
View Full Code Here

                                                       Integer position,
                                                       String parentType,
                                                       String parentLocator,
                                                       Integer parentPosition,
                                                       String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ),
            find( parentType, parentLocator, parentPosition ), VerifyOperation.STARTS_WITH, true );
  }
View Full Code Here

  @Then("^(?:ensure that )?" + StandardSahiSteps.ELEMENT_REGEX + " (?:should start with|starts with) \"([^\"]*)\"$")
  public void the_element_should_start_with( String type,
                                             String locator,
                                             Integer position,
                                             String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ), null,
            VerifyOperation.STARTS_WITH, true );
  }
View Full Code Here

                                                         Integer position,
                                                         String parentType,
                                                         String parentLocator,
                                                         Integer parentPosition,
                                                         String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ),
            find( parentType, parentLocator, parentPosition ), VerifyOperation.ENDS_WITH, false );
  }
View Full Code Here

  @Then("^(?:ensure that )?" + StandardSahiSteps.ELEMENT_REGEX + " (?:should not end with|does not end with) \"([^\"]*)\"$")
  public void the_element_should_not_end_with( String type,
                                               String locator,
                                               Integer position,
                                               String value ) throws Throwable {
    verify( Arrays.asList( new ElementDescriptor( locator, position, type, value ) ), null,
            VerifyOperation.ENDS_WITH, false );
  }
View Full Code Here

TOP

Related Classes of com.foreach.cuke.sahi.element.ElementDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.