Package org.seleniuminspector.html

Examples of org.seleniuminspector.html.TextAreaInspector


    public void testTextAreaIsNotAffectedByOpenFacesValidation() throws Exception {
        testAppFunctionalPage("/requests/JSFC_2257.jsf");

        ElementInspector dmf = element("dfm0");
        dmf.assertElementExists(false);
        TextAreaInspector textArea = new TextAreaInspector("fm:ta");
        textArea.type("Some text");
        ElementInspector button = element("fm:bt");
        button.clickAndWait();
        textArea.assertValue("Some text");
        for (int i = 0; i < "Some text".length(); i++)
            textArea.keyPress(Keys.BACK_SPACE);
//        textArea.type("");
        dmf.assertElementExists(false);
        button.click();
        dmf.assertElementExists(true);
    }
View Full Code Here

TOP

Related Classes of org.seleniuminspector.html.TextAreaInspector

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.