(All uitilities are latest version )
I use following code to test my login page:
-----------------------------------------------------------------
import com.thoughtworks.selenium.DefaultSelenium;
import com.thoughtworks.selenium.Selenium;
public class Login
{
@Test
public void Login() throws Exception
{
Selenium selenium = new DefaultSelenium("localhost", 4444,
"*firefox","
http://localhost:8888/");
selenium.start();
selenium.open("/CRM.html?gwt.hosted=
127.0.0.1:9997");
selenium.type("gwt-debug-userName", "admin");
selenium.type("gwt-debug-password", "admin");
selenium.click("gwt-debug-login");
selenium.stop();
}
}
----------------------------------------------------------------------
after firefox opened,it keeps asking me to install gwt plugin(but the
plugin has been installed and functioned properly),and I try to
refresh page,no changes,then I copy the url,close firefox and reopen
it,pasted url just copied,it works.that is strange.why is it when I
use Selenium to open firefox,it asked me to install already installed
plugin.