Package com.crawljax.core.configuration

Examples of com.crawljax.core.configuration.InputSpecification


    crawljax.call();

  }

  private static InputSpecification getInputSpecification() {
    InputSpecification input = new InputSpecification();
    Form contactForm = new Form();
    contactForm.field("male").setValues(true, false);
    contactForm.field("female").setValues(false, true);
    contactForm.field("name").setValues("Bob", "Alice", "John");
    contactForm.field("phone").setValues("1234567890", "1234888888", "");
    contactForm.field("mobile").setValues("123", "3214321421");
    contactForm.field("type").setValues("Student", "Teacher");
    contactForm.field("active").setValues(true);
    input.setValuesInForm(contactForm).beforeClickElement("button").withText("Save");
    return input;
  }
View Full Code Here

TOP

Related Classes of com.crawljax.core.configuration.InputSpecification

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.