added webtools/selenium to the help and corrected some problems

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818733 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hans Bakker
2009-09-25 06:31:20 +00:00
parent 596c742486
commit 0fdf9568c8
10 changed files with 141 additions and 45 deletions
@@ -32,8 +32,15 @@
<title>Introduction</title>
<para>
Welcome to Apache OFBiz the ready to use open source ERP system.
</para>
<para>
A project introduction can be found at the <link xl:href="http://docs.ofbiz.org/display/OFBADMIN/Apache+OFBiz+Project+Overview">OFBiz documentation site</link>
</para>
<para>
A general Business setup guide can be found at <link xl:href="http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide">OFBiz documentation site</link>
For a quick setup check the <link xl:href="#componentSetup">Setup component.</link>
</para>
</chapter>
<xi:include href="Setup.xml"/>
<xi:include href="../../../applications/accounting/documents/Accounting.xml"/>
+1 -2
View File
@@ -22,7 +22,6 @@
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
<title>The Setup Component</title>
<title><anchor id="componentSetup"/>The Setup Component</title>
<xi:include href="../data/helpdata/HELP_SETUP.xml" />
</chapter>
@@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<entity-engine-xml>
<!-- example test suite -->
<SeleniumTestSuitePath testSuiteId="EXAMPLE_TESTSUITE" testSuiteName="example_testsuite" testSuitePath="framework/testtools/testdef/seleniumxml/example/example_testsuite.xml" description="test suite for example component"/>
<!--Selenium Help Load in contentTypeData.xml file -->
<!-- selenium test tool-->
<DataResource dataResourceId="SELENIUM_INTRO" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="framework/testtools/documents/OfbizSeleniumIntro.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Ofbiz Selenium Setup" mimeTypeId="text/xml" isPublic="Y" />
<Content contentId="SELENIUM_INTRO" contentTypeId="DOCUMENT" contentName="OFBiz Selenium" templateDataResourceId="HELP_TEMPL" dataResourceId="SELENIUM_INTRO" localeString="en" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>/>
<ContentAssoc contentId="DOCUMENTS" mapKey="SELENIUM_INTRO" contentIdTo="SELENIUM_INTRO" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
<DataResource dataResourceId="SELENIUM_HTTPS" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="framework/testtools/documents/OfbizSeleniumSetupHTTPS.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Ofbiz Selenium HTTPS" mimeTypeId="text/xml" isPublic="Y" />
<Content contentId="SELENIUM_HTTPS" contentTypeId="DOCUMENT" contentName="OFBiz Selenium with HTTPS" templateDataResourceId="HELP_TEMPL" dataResourceId="SELENIUM_HTTPS" localeString="en" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>/>
<ContentAssoc contentId="DOCUMENTS" mapKey="SELENIUM_INTRO" contentIdTo="SELENIUM_HTTPS" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
<ContentAssoc contentId="SELENIUM_INTRO" mapKey="SELENIUM_INTRO" contentIdTo="SELENIUM_HTTPS" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
<ContentAssoc contentId="HELP_ROOT" mapKey="SELENIUM_INTRO" contentIdTo="SELENIUM_INTRO" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
</entity-engine-xml>
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<entity-engine-xml>
<!-- example test suite -->
<SeleniumTestSuitePath testSuiteId="EXAMPLE_TESTSUITE" testSuiteName="example_testsuite" testSuitePath="framework/testtools/testdef/seleniumxml/example/example_testsuite.xml" description="test suite for example component"/>
<DataResource dataResourceId="HELP_WEBTOOLS" localeString="en" dataResourceTypeId="OFBIZ_FILE"
objectInfo="framework/webtools/data/helpdata/HELP_WEBTOOLS.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS"
dataResourceName="Webtools Overview" mimeTypeId="text/xml" isPublic="Y" />
<Content contentId="HELP_WEBTOOLS" contentTypeId="DOCUMENT" contentName="Webtools Overview" templateDataResourceId="HELP_TEMPL"
dataResourceId="HELP_WEBTOOLS" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>/>
<ContentAssoc contentId="HELP_ROOT" contentIdTo="HELP_WEBTOOLS" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="000"/>
<DataResource dataResourceId="WEBTOOLS_main" localeString="en" dataResourceTypeId="OFBIZ_FILE"
objectInfo="framework/webtools/data/helpdata/HELP_WEBTOOLS_main.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="List parties Help" mimeTypeId="text/xml" isPublic="Y" />
<Content contentId="WEBTOOLS_main" contentTypeId="DOCUMENT" contentName="Webtools main menu." templateDataResourceId="HELP_TEMPL" dataResourceId="WEBTOOLS_main" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>/>
<ContentAssoc contentId="HELP_WEBTOOLS" contentIdTo="WEBTOOLS_main" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="000" mapKey="WEBTOOLS_main"/>
<DataResource dataResourceId="WEBTOOLS_selenium" localeString="en" dataResourceTypeId="OFBIZ_FILE"
objectInfo="framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Selenium help" mimeTypeId="text/xml" isPublic="Y" />
<Content contentId="WEBTOOLS_selenium" contentTypeId="DOCUMENT" contentName="Selenium test." templateDataResourceId="HELP_TEMPL" dataResourceId="WEBTOOLS_selenium" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>/>
<ContentAssoc contentId="HELP_WEBTOOLS" contentIdTo="WEBTOOLS_selenium" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="000" mapKey="WEBTOOLS_selenium"/>
<!--Selenium Help Load in contentTypeData.xml file -->
<DataResource dataResourceId="SELENIUM_HTTPS" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="framework/testtools/documents/OfbizSeleniumSetupHTTPS.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Ofbiz Selenium HTTPS" mimeTypeId="text/xml" isPublic="Y" />
<Content contentId="SELENIUM_HTTPS" contentTypeId="DOCUMENT" contentName="OFBiz Selenium with HTTPS" templateDataResourceId="HELP_TEMPL" dataResourceId="SELENIUM_HTTPS" localeString="en" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>/>
<ContentAssoc contentId="DOCUMENTS" contentIdTo="SELENIUM_HTTPS" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01" sequenceNum="" />
</entity-engine-xml>
+1 -1
View File
@@ -41,7 +41,7 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentHelpData.xml"/>
<!-- these files cannot be loaded in their original component because they are earlier than the content component -->
<entity-resource type="data" reader-name="seed" loader="main" location="data/PartyHelpData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/SeleniumHelpData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/WebtoolsHelpData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/UsersDemoData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogPubPtData.xml"/>
+1
View File
@@ -31,5 +31,6 @@
<xi:include href="../base/documents/FrameworkBase.xml" />
<xi:include href="../entity/documents/EntityEngine.xml" />
<xi:include href="../service/documents/ServiceEngine.xml" />
<xi:include href="../webtools/documents/Webtools.xml" />
</chapter>
@@ -18,12 +18,13 @@
under the License.
-->
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xl="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../applications/content/dtd/docbook.xsd">
<title>OFBiz SeleniumXml Introduction</title>
<title>OFBiz SeleniumXml</title>
<para>
This is a short document to help you get started using SeleniumXml to test your OFBiz application. Here is a copy of the presentation that was given at the ApacheCon2008 OFBiz Conference that describes more about the project:<ulink>http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf</ulink>
This is a short document to help you get started using SeleniumXml to test your OFBiz application. Here is a <link xl:href="http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf">copy of the presentation</link> that was given at the ApacheCon2008 OFBiz Conference that describes more about the project.
</para>
<section>
<title>Installing SeleniumXml</title>
@@ -48,7 +49,7 @@
</section>
<section>
<title>3. Change the configuration for your preferred browser in the testtools/config/seleniumxml.properties file. The default is firefox (e.g. browser=*firefox) but you can change it to any of the selenium supported browsers.</title>
<para>Selenium supported browsers: <ulink>http://seleniumhq.org/about/platforms.html#browsers</ulink></para>
<para><link xl:href="http://seleniumhq.org/about/platforms.html#browsers">Selenium supported browsers you can find here</link></para>
</section>
<section>
<title>4. Run the Example test</title>
@@ -80,7 +81,7 @@
<section>
<title>Creating New Tests :</title>
<para>The easiest way to create a new test is to use the Selenium IDE plugin for Firefox. This allows you to records your own Selenium tests. You can then save the test and convert it to a seleniumXml test easily.</para>
<para>1. Install the latest plugin at <ulink>http://seleniumhq.org/projects/ide/</ulink></para>
<para>1. Install <link xl:href="http://seleniumhq.org/projects/ide/">the latest plugin</link></para>
<para>2. Record your steps as you run through your ofbiz application.</para>
<para>3. Then convert the saved XML file using the convertSeleniumIDE.bat script.</para>
</section>
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version
2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by
applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the
License.
-->
<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="5.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
<title>The Webtools Introduction.</title>
<xi:include href="HELP_WEBTOOLS_main.xml" />
<xi:include href="../../../testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml" />
</section>
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version
2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by
applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the
License.
-->
<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="5.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
<title>The Webtools Main page.</title>
<para>
The default screen is for the Webtools tab is 'Main'. It list all options are listed.
</para>
</section>
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="5.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../applications/content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
<title>The Webtools, framework menus</title>
<para>
The Webtools option is the gateway to all the framework functions.
</para>
<xi:include href="../data/helpdata/HELP_WEBTOOLS.xml" />
</section>