Author: jleroux
Date: Wed Mar 16 10:19:11 2011
New Revision: 1082112
URL:
http://svn.apache.org/viewvc?rev=1082112&view=revLog:
A bit better when using Selenium in Webtools without Internet access.
Modified:
ofbiz/trunk/framework/testtools/webapp/testtools/SeleniumTest.ftl
Modified: ofbiz/trunk/framework/testtools/webapp/testtools/SeleniumTest.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/webapp/testtools/SeleniumTest.ftl?rev=1082112&r1=1082111&r2=1082112&view=diff==============================================================================
--- ofbiz/trunk/framework/testtools/webapp/testtools/SeleniumTest.ftl (original)
+++ ofbiz/trunk/framework/testtools/webapp/testtools/SeleniumTest.ftl Wed Mar 16 10:19:11 2011
@@ -34,7 +34,9 @@ under the License.
<td>- selenium_server.jar </td>
<td>
<#if libcheck == "true">
- success
+ Success
+ <#elseif libcheck == "noInternet">
+ Download and install selenium-server.jar in framework/testtools/lib (see in VerifySeleniumSetups.java)
<#else>
<div style="color:red;" id="message">please click download this lib for run the selenium application!</div>
<div id="loadpercent"><a id="download" href="javascript:clickDownLoad('<@ofbizUrl>downloadSeleniumlib</@ofbizUrl>');" class="buttontext">download</a></div>
@@ -47,14 +49,14 @@ under the License.
<td>- Changes ofbiz to use HTTP as the default at file (framework/webapp/config/url.properties)</td>
<td>
<#if urlcheck == "true">
- success
+ Success
<#else>
<div style="color:red;">Not success!</div>
</#if>
</td>
</tr>
<tr>
- <td>
+ <td>
<ol>
<li>Edit 'framework/testtools/config/seleniumXml.properties' and add your firefox path, replace the example in the file</li>
<li>Then save and restart ofbiz.</li>
@@ -112,4 +114,4 @@ under the License.
}
});
}
-</script>
\ No newline at end of file
+</script>