Selenium has its customized profile for firefox and IE, I think that you need to let Selenium start your firefox profile that have the plugin installed.
On Thu, Nov 12, 2009 at 2:57 AM, Alex Luya <alexander.l...@gmail.com> wrote: > (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. > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.