Files
ofbiz-framework/framework/testtools/runSeleniumXml.bat
T
Jacques Le Roux db9d329c2c A enhanced patch from Erwan de FERRIERES "Bug when using convert selenium html tests to xml" (https://issues.apache.org/jira/browse/OFBIZ-3282) - OFBIZ-3282
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
2009-12-02 18:14:39 +00:00

17 lines
807 B
Batchfile

rem set JAVA_HOME=%JDK_15%
set OFBIZ_HOME=../..
set CP=./build/lib/ofbiz-testtools.jar
set CP=%CP%;./lib/selenium-java-client-driver.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/lib/httpclient-4.0.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/lib/jdom-1.1.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/lib/scripting/jython-nooro.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/lib/junit.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/lib/commons/commons-lang-2.3.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/lib/log4j-1.2.15.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/lib/javolution-5.2.3.jar
set CP=%CP%;%OFBIZ_HOME%/framework/base/build/lib/ofbiz-base.jar
echo %CP%
"%JAVA_HOME%/bin/java.exe" -Dselenium.config=./config/seleniumXml.properties -cp %CP% org.ofbiz.testtools.seleniumxml.SeleniumXml %1