Hi,
I want to change the IJwebUnitDialog locale. So I try to change it using
IJwebUnitDialog .setLocale(myLocale) but it doesn't work.
This is the code that I'am especting :
IJWebUnitDialog dialog = new HTMLUnitDialog();
TestContext testContext = new TestContext();
testContext.setResourceBundleName(DEFAULT_BUNDLE_WEB);
testContext.setLocale(Locale.ENGLISH);
dialog.beginAt(new URL(url),testContext ;
After that, I test all the label using xpath for exemple : <label for="test">
C'est un test</label] ---> //[EMAIL PROTECTED]"test"] but JWebUnit return all
the label in Frensh and not in English.
Thank you for your help.
Karim.
_________________________________________________________________
Microsoft vous recommande de mettre à jour Internet Explorer.
http://specials.fr.msn.com/IE7P25
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users