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. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885752 13f79535-47bb-0310-9956-ffa450edef68
15 lines
508 B
XML
15 lines
508 B
XML
<?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" />
|
|
<type name="PASSWORD" value="ofbiz" />
|
|
<click locator="//input[@value='Login']" />
|
|
<waitForPageToLoad value="10000" />
|
|
<getBodyText out="bodyText"/>
|
|
<getHtmlSource out="htmlSource"/>
|
|
<!--assertContains src="${htmlSource}" test="Welcome" /-->
|
|
</testcase>
|
|
|