Package com.google.sitebricks.acceptance.page

Examples of com.google.sitebricks.acceptance.page.FormsPage.send()


    final String boundAutobots = "Optimus, Rodimus, UltraMagnus";
    final String[] strings = boundAutobots.split(", ");

    page.enterText(SOME_TEXT);
    page.enterAutobots(strings[0], strings[1], strings[2]);
    page.send();

    assert page.hasBoundText(SOME_TEXT) : "Did not generate dynamic text from form binding";
    assert page.hasBoundAutobots(boundAutobots) : "Did not generate text from list binding";
  }
}
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.