Package br.com.caelum.seleniumdsl

Examples of br.com.caelum.seleniumdsl.Form.check()


        .form("form");
    form.field("login")
        .type("myLogin");
    form.field("password")
        .type("myPassword");
    form.check("remember");

    form.submit();

    // logged successfuly
    Assert.assertEquals("Main Page", browser.currentPage()
View Full Code Here


  @Test
  public void testLogin() {
    Form form = browser.currentPage().form("form");
    form.field("login").type("myLogin");
    form.field("password").type("myPassword");
    form.check("remember");

    form.submit();

    // logged successfuly
    Assert.assertEquals("Main Page", browser.currentPage().title());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.