Hello!
 
I had a similar "problem" with the selenium plugin, setting browser version and selenium-server host. So i added these lines in the SeleniumDialog.beginAt method.
 
        String localhost = System.getProperty("jwebunit.selenium-plugin.server","localhost");
        String browserIdent = System.getProperty("jwebunit.selenium-plugin.browser","*chrome");
Its not the best way to set these, but it was fast implemented.
 
Regards
Tarek
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Im Auftrag von Julien HENRY
Gesendet: Freitag, 15. September 2006 09:36
An: Usage problems for jWebUnit
Betreff: [Jwebunit-users] Re : Change browser version

Hi,

I choose Internet Explorer 4.0 because I think it imply a "standard" configuration. There is currently no way to change this, but it could be interesting to find how to specify some parameters to a given testing engine, as we can't expect to find the same options in HtmlUnit and Selenium.
I was thinking about setting a list of properties that a specific engine can take into account or simply ignore if not applicable.

Use case:
    setProperty(Property.BrowserVersion, BrowserVersion.IE_4.0);

What do you think about that ?

++

Julien

----- Message d'origine ----
De : Emanuele Gesuato <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Jeudi, 14 Septembre 2006, 5h49mn 15s
Objet : [Jwebunit-users] Change browser version

Hi there,
I see in HtmlUnitDialog.initWeb that WebClient is istanced using as
BrowserVersion Internet Explorer 4.0. I want to test my webapp using
Internet Explorer 6; is there a way to change it ?

Thanks,
Emanuele Gesuato

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to