BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
Still some work needs to be done in order to have the codebase inline with the ASF policies as it used to be.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907413 13f79535-47bb-0310-9956-ffa450edef68
* take a browser screenshot with "captureEntirePageScreenshot"
* close the browser at a test's end with "closeBrowser"
Screenshots are saved in runtime/logs/ but can be changed in seleniumXml.properties file
You can try those by launching the test CommEventCreateOpportunity_testsuite.xml
The magic used to take screenshots was found on the seleniumexamples blog.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901704 13f79535-47bb-0310-9956-ffa450edef68
<test-case case-name="auto-accounting-transaction-tests">
<simple-method-test location="component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml"/>
</test-case>
Basically just mimics the behavior of the junit-test-suite tag but for simple method tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893662 13f79535-47bb-0310-9956-ffa450edef68
corrected the XML tests
added new functions in selenium for better conversion from selenese and use with the XML tests :
* echo
* verifyTextPresent
* verifyTextNotPresent
* assertTitle
* assertConfirmation
Removed comments
* waitForPageToLoad : just wait the page to load before any other action (time in ms)
* click : make a click on an element
* assertContains : assert an element contains some code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887126 13f79535-47bb-0310-9956-ffa450edef68
This patch do not modify the files, but is just for cleaning this files :
seleniumXml.java
seleniumIDEconverter.java
There is a lot of LOC commented in the code, a lot of whitespaces and so on. This patch removes all of this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886301 13f79535-47bb-0310-9956-ffa450edef68
This line was causing the error : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
What Erwan done :
* corrected the imports in the script
* used sed to remove this line, it is now creating a temp file without the line which is given to the converter.
I have personally modified the convertSeleniumIDE.bat file but did not test (nor Linux version, I suppose it's ok). I guess this will mostly used on Linux Server and should work anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886233 13f79535-47bb-0310-9956-ffa450edef68
In this new version, I :
* removed the graphic tag
* added the mediaobject tag
* updated the selenium help page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886157 13f79535-47bb-0310-9956-ffa450edef68
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
this patch will allow to diplay images in the help system.
The help images will be located in framework/images/webapp/images/help (one is included in this issue)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885748 13f79535-47bb-0310-9956-ffa450edef68
* remove duplicate ()
* remove casts no longer needed
I'm doing these last tasks around isEmpty and isNotEmpty mostly to be sure that nothing has slipped in. Despite I have been very careful, I prefer double check.
+ one typo in ofbizSelenium help (not sure this file is used yet though, seems to be missing some parts which are commented out, for now I guess)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885093 13f79535-47bb-0310-9956-ffa450edef68