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
SagePay payment gateway integrated. All the gateway parameters are configurable using the Payment gateway configuration, also the transaction types that are available in sagepay are configurable.
I moved the httpclient httpcore jars to base/lib (also new jcip-annotations-1.0.jar)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882103 13f79535-47bb-0310-9956-ffa450edef68
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68