Yeah,thank you Cliff,I figured it out
-----------------------------------
cmd>java -jar selenium-server.jar -firefoxProfileTemplate "C:
\Documents and Settings\your account name\Application Data\Mozilla
\Firefox\Profiles\xxxxxxx.default"
------------------------------------
Above command line will force selenium-server to start with specified
profile.

On 12 nov, 15:43, Cliff Zhao <zha...@gmail.com> wrote:
> 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%2Bunsubs 
> > cr...@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=.


Reply via email to