Author: jleroux
Date: Tue Dec 1 12:17:58 2009
New Revision: 885752
URL:
http://svn.apache.org/viewvc?rev=885752&view=revLog:
A patch from Erwan de FERRIERES "Force the locale to english when running selenium tests" (
https://issues.apache.org/jira/browse/OFBIZ-3281) - OFBIZ-3281
When running a seleniumXML test, the locale used should be English as the buttons or links are defined in English in the test files.
Adding the language choice before logging in the application will then resolved errors due to a bad localization.
Modified:
ofbiz/trunk/framework/testtools/testdef/seleniumxml/example/example_login.xml
Modified: ofbiz/trunk/framework/testtools/testdef/seleniumxml/example/example_login.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/testdef/seleniumxml/example/example_login.xml?rev=885752&r1=885751&r2=885752&view=diff==============================================================================
--- ofbiz/trunk/framework/testtools/testdef/seleniumxml/example/example_login.xml (original)
+++ ofbiz/trunk/framework/testtools/testdef/seleniumxml/example/example_login.xml Tue Dec 1 12:17:58 2009
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<testcase>
+ <open value="/example/control/setSessionLocale?newLocale=en" />
<open value="/example/control/logout" />
<waitForPageToLoad value="10000" />
<type name="USERNAME" value="admin" />