Lines Matching refs:selenium
41 import com.thoughtworks.selenium.*;
45 import org.openqa.selenium.server.SeleniumServer;
49 private DefaultSelenium selenium;
55 selenium = new DefaultSelenium("localhost",
60 /* selenium = new DefaultSelenium(selenSrvrAddr,
67 selenium.start();
80 selenium.open("http://localhost:4848");
81 selenium.open("/");
82 /*selenium.type("sf", "glassfish");
83 selenium.click("btnG");
84 selenium.waitForPageToLoad("30000");
85 selenium.click("//a/b[2]");*/
86 selenium.waitForPageToLoad("30000");
87 //verifyTrue(selenium.isTextPresent("JRuby"));
88 //verifyEquals("glassfish: GlassFish Community", selenium.getTitle());
91 //Assert.assertEquals("", selenium.getText("//img[@alt='GlassFish V2']"));
93 selenium.open("/login.jsf");
94 selenium.waitForPageToLoad("30000");
95 //selenium.type("Login.username", "admin");
96 selenium.type("j_username", "admin");
97 //selenium.waitForPageToLoad("30000");
98 //selenium.type("Login.password", "adminadmin");
99 selenium.type("j_password", "adminadmin");
100 //selenium.waitForPageToLoad("3000");
101 selenium.click("loginButton");
102 //selenium.waitForPageToLoad("30000");
113 selenium.stop();