JBoss Portal SVN: r12369 - docs/enterprise/trunk/Reference_Guide/en-US.
by portal-commits@lists.jboss.org
Author: prabhat.jha(a)jboss.com
Date: 2008-12-09 14:12:26 -0500 (Tue, 09 Dec 2008)
New Revision: 12369
Added:
docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml
Removed:
docs/enterprise/trunk/Reference_Guide/en-US/Enterprise_Portal_Platform_4.3.xml
Modified:
docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
Log:
correct title
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2008-12-09 19:01:52 UTC (rev 12368)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2008-12-09 19:12:26 UTC (rev 12369)
@@ -3,11 +3,11 @@
]>
<bookinfo id="JBoss_Portal_Reference_Guide">
- <title>Enterprise Portal Platform 4.3</title>
- <subtitle>Reference Guide</subtitle>
+ <title>Reference Guide</title>
+ <subtitle>For use with JBoss Enterprise Portal Platform 4.3</subtitle>
<edition>2</edition>
<pubsnumber>7</pubsnumber>
- <productname>Enterprise Portal Platform</productname>
+ <productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
<pubdate>Jan, 2009</pubdate>
<isbn>N/A</isbn>
Deleted: docs/enterprise/trunk/Reference_Guide/en-US/Enterprise_Portal_Platform_4.3.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Enterprise_Portal_Platform_4.3.xml 2008-12-09 19:01:52 UTC (rev 12368)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Enterprise_Portal_Platform_4.3.xml 2008-12-09 19:12:26 UTC (rev 12369)
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.docbook.org/xml/4.5/docbookx.dtd">
-<book id="jboss_portal_reference_guide">
-<!--<book lang="en">
- <bookinfo>
- <title>JBoss Portal Reference Guide</title>
- <subtitle>JBoss Portal Reference Guide</subtitle>
- <edition>2.7.0</edition>
- <pubsnumber>1</pubsnumber>
- <productname>JBoss Portal</productname>
- <productnumber>2.7</productnumber>
- <pubdate>Nov, 2007</pubdate>
- <isbn>N/A</isbn>
-
-
- <abstract><para>This document is an outline of the information plan for JBoss AS 5 GA project's documentation.</para></abstract>
-
-
-
-
-
-
-
- <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- </bookinfo>
- -->
- <!--<toc/>-->
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml" />
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Trademarks.xml" />
-<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Overview.xml" />-->
-<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Featurelist.xml" />-->
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Target.xml" />
-<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Acknowledgements.xml" />-->
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Supported.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Installation.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Configuration.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Migration.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Tutorials.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="XML_Descriptors.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="URLs.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Coordination.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Error_Handling.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Content_Integration.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Widget_Integration.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portlet_Modes.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portal_API.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Clustering.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="WSRP.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Security.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Identity.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Identity_Portlets.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Authentication.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Ldap.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="SSO.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="CMS_Portlet.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Workflow.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Nav_Tabs.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Theme_And_Layouts.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Ajax.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Troubleshooting.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portal_Objects_DTD.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portlet_Instances_DTD.xml" />
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Jboss_Portlet_DTD.xml" />
-</book>
Copied: docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml (from rev 12368, docs/enterprise/trunk/Reference_Guide/en-US/Enterprise_Portal_Platform_4.3.xml)
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml (rev 0)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml 2008-12-09 19:12:26 UTC (rev 12369)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.docbook.org/xml/4.5/docbookx.dtd">
+<book id="jboss_portal_reference_guide">
+<!--<book lang="en">
+ <bookinfo>
+ <title>JBoss Portal Reference Guide</title>
+ <subtitle>JBoss Portal Reference Guide</subtitle>
+ <edition>2.7.0</edition>
+ <pubsnumber>1</pubsnumber>
+ <productname>JBoss Portal</productname>
+ <productnumber>2.7</productnumber>
+ <pubdate>Nov, 2007</pubdate>
+ <isbn>N/A</isbn>
+
+
+ <abstract><para>This document is an outline of the information plan for JBoss AS 5 GA project's documentation.</para></abstract>
+
+
+
+
+
+
+
+ <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </bookinfo>
+ -->
+ <!--<toc/>-->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml" />
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Trademarks.xml" />
+<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Overview.xml" />-->
+<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Featurelist.xml" />-->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Target.xml" />
+<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Acknowledgements.xml" />-->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Supported.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Installation.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Configuration.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Migration.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Tutorials.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="XML_Descriptors.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="URLs.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Coordination.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Error_Handling.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Content_Integration.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Widget_Integration.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portlet_Modes.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portal_API.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Clustering.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="WSRP.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Security.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Identity.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Identity_Portlets.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Authentication.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Ldap.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="SSO.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="CMS_Portlet.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Workflow.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Nav_Tabs.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Theme_And_Layouts.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Ajax.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Troubleshooting.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portal_Objects_DTD.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Portlet_Instances_DTD.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Jboss_Portlet_DTD.xml" />
+</book>
17 years, 5 months
JBoss Portal SVN: r12367 - docs/enterprise/trunk/Reference_Guide/en-US.
by portal-commits@lists.jboss.org
Author: prabhat.jha(a)jboss.com
Date: 2008-12-09 13:53:12 -0500 (Tue, 09 Dec 2008)
New Revision: 12367
Modified:
docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml
docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml
docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml
docs/enterprise/trunk/Reference_Guide/en-US/Target.xml
Log:
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml 2008-12-09 16:42:43 UTC (rev 12366)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml 2008-12-09 18:53:12 UTC (rev 12367)
@@ -34,7 +34,9 @@
<surname>McAllister</surname>
<email>mmcallis(a)redhat.com</email>
</author>
-
-
-
+ <author>
+ <firstname>Prabhat</firstname>
+ <surname>Jha</surname>
+ <email>pjha at redhat dot com</email>
+ </author>
</authorgroup>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2008-12-09 16:42:43 UTC (rev 12366)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2008-12-09 18:53:12 UTC (rev 12367)
@@ -3,18 +3,18 @@
]>
<bookinfo id="JBoss_Portal_Reference_Guide">
- <title>JBoss Portal Reference Guide</title>
- <subtitle>JBoss Portal 2.7 Reference Guide</subtitle>
+ <title>Enterprise Portal Platform 4.3</title>
+ <subtitle>Reference Guide</subtitle>
<edition>2</edition>
<pubsnumber>7</pubsnumber>
- <productname>JBoss Portal</productname>
- <productnumber>2.7</productnumber>
- <pubdate>Oct, 2007</pubdate>
+ <productname>Enterprise Portal Platform</productname>
+ <productnumber>4.3</productnumber>
+ <pubdate>Jan, 2009</pubdate>
<isbn>N/A</isbn>
<issuenum>1</issuenum>
- <abstract><para>This book is a JBoss Portal 2.7 Reference Guide.</para>
+ <abstract><para>This book is a Enterprise Portal Platform Reference Guide.</para>
</abstract>
<corpauthor>
<inlinemediaobject>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml 2008-12-09 16:42:43 UTC (rev 12366)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml 2008-12-09 18:53:12 UTC (rev 12367)
@@ -19,7 +19,7 @@
<section>
<title>Changing the Port</title>
<para>
- It is common for web services to run on port 80. By default, JBoss EAP and JBoss AS use port 8080. If you can not use <ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingPortForwardingWithJBoss">port forwarding</ulink>, it is recommended to change the port JBoss EAP or JBoss AS listens on. To change the default port, open the <filename>$JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml</filename> file, and edit the <computeroutput>Connector port</computeroutput> value for the <computeroutput>jboss.web</computeroutput> service; however, this configuration only applies to Apache Tomcat:
+ It is common for web services to run on port 80. By default, JBoss EAP and JBoss AS use port 8080. If you can not use <ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingPortForwardingWithJBoss">port forwarding</ulink>, it is recommended to change the port JBoss EAP or JBoss AS listens on. To change the default port, open the <filename>$JBOSS_HOME/server/production/deploy/jboss-web.deployer/server.xml</filename> file, and edit the <computeroutput>Connector port</computeroutput> value for the <computeroutput>jboss.web</computeroutput> service; however, this configuration only applies to Apache Tomcat:
</para>
<programlisting role="XML">
<Service name="jboss.web">
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml 2008-12-09 16:42:43 UTC (rev 12366)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml 2008-12-09 18:53:12 UTC (rev 12367)
@@ -15,10 +15,10 @@
</chapterinfo>-->
<title>System Requirements</title>
<para>
- The following chapter details hardware and software versions that are compatible with JBoss Portal. The hardware and software listed has either been tested, or reported as working by users. Before reporting a problem, make sure you are using compatible hardware and software.
+ The following chapter details hardware and software versions that are compatible with Enterprise Portal Platform. The hardware and software listed has either been tested, or reported as working by users. Before reporting a problem, make sure you are using compatible hardware and software.
</para>
<para>
- If you successfully installed JBoss Portal on versions not listed here, please let us know so it can be added to this section.
+ If you successfully installed Enterprise Portal Platform on versions not listed here, please let us know so it can be added to this section.
</para>
<section>
<title>Minimum System Requirements</title>
@@ -33,21 +33,21 @@
</section>
<section>
<title>Supported Operating Systems</title>
- <para>JBoss Portal is <trademark class="trade">100% Pure Java</trademark>, and therefore it is interoperable with most operating systems
+ <para>JBoss Enterprise Portal Platform (EPP) is <trademark class="trade">100% Pure Java</trademark>, and therefore it is interoperable with most operating systems
capable of running a Java Virtual Machine (<trademark class="trade">JVM</trademark>), including <trademark class="registered">Linux</trademark>, <trademark class="registered">Windows</trademark>, <trademark class="registered">UNIX</trademark> operating systems, and Mac OS X.
</para>
</section>
<section>
- <title>JBoss Application Server</title>
- <para>JBoss Portal 2.7.0 is tested with JBoss Application Server (AS) JBoss AS 4.2.3, JBoss Enterprise Application Platform (EAP) 4.2 and JBoss EAP 4.3. It is highly recommended that customers who have access to the <ulink url="https://support.redhat.com/portal/login.html">JBoss Customer Support Portal (CSP)</ulink> use JBoss EAP 4.3. Customers who do not have access to the JBoss CSP should use <ulink url="http://labs.jboss.com/jbossas/">JBoss AS</ulink>.
+ <title>JBoss Enterprise Application Platform (EAP)</title>
+ <para>Enterprise Portal Platform 2.7.0 is tested with JBoss EAP 4.3_CP03. It is highly recommended that customers who have access to the <ulink url="https://support.redhat.com/portal/login.html">JBoss Customer Support Portal (CSP)</ulink> use JBoss EAP 4.3_CP03.
</para>
<warning>
- <para>JBoss AS versions 4.0.<replaceable>x</replaceable> are not supported.</para>
+ <para>Other JBoss Application Sever (AS) and EAP versions <replaceable>x</replaceable> are not supported.</para>
</warning>
</section>
<section id="supportedversions-db">
<title>Databases</title>
- <para>JBoss Portal is database-agnostic. The following list outlines known-to-be-working database vendor and version combinations:</para>
+ <para>Enterprise Portal Platform is database-agnostic. The following list outlines known-to-be-working database vendor and version combinations:</para>
<itemizedlist>
<listitem><para><trademark class="registered">MySQL</trademark> 4 (use <ulink url="http://dev.mysql.com/downloads/connector/j/3.1.html">Connector/J 3.1</ulink>) and 5 (<ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors">known issue</ulink>)</para></listitem>
<listitem><para>PostgreSQL 8.<replaceable>x</replaceable></para></listitem>
@@ -57,7 +57,7 @@
<listitem><para><trademark class="registered">Microsoft</trademark><trademark class="registered"> SQL Server</trademark></para></listitem>
<listitem><para>MaxDB</para></listitem>
</itemizedlist>
- <para>JBoss Portal employs Hibernate as an interface to a Relational Database Management System (RDBMS). Most Relational Database Management Systems supported by Hibernate will work with JBoss Portal.</para>
+ <para>Enterprise Portal Platform employs Hibernate as an interface to a Relational Database Management System (RDBMS). Most Relational Database Management Systems supported by Hibernate will work with Enterprise Portal Platform.</para>
</section>
<section>
<title>Source Building</title>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Target.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Target.xml 2008-12-09 16:42:43 UTC (rev 12366)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Target.xml 2008-12-09 18:53:12 UTC (rev 12367)
@@ -6,6 +6,7 @@
<title>Target Audience</title>
<para>
This guide is aimed towards portlet developers, portal administrators, and those wishing to
- implement and extend the JBoss Portal framework. For end-user documentation, please refer to the JBoss Portal User Manual from the <ulink url="http://labs.jboss.com/portal/jbossportal/docs/index.html">JBoss Portal Documentation Library</ulink>
- .</para>
+ implement and extend the Enterprise Portal Platform framework. For end-user documentation, please refer to the
+ Enterprise Portal Platform's User Guide available with the documentation bundle.
+ </para>
</preface>
\ No newline at end of file
17 years, 5 months
JBoss Portal SVN: r12366 - in branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests: src/org/jboss/portal/test/selenium and 1 other directory.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2008-12-09 11:42:43 -0500 (Tue, 09 Dec 2008)
New Revision: 12366
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSelenium.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSeleniumTestListener.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/UserLoginTestCase.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/testng.xml
Log:
some timeout tweaks
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2008-12-08 23:00:09 UTC (rev 12365)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2008-12-09 16:42:43 UTC (rev 12366)
@@ -26,14 +26,15 @@
protected Selenium selenium;
// Generic timeout in miliseconds
- protected static final String PAGE_LOAD = "900000";
+ protected static final String PAGE_LOAD = "12000000";
// Element timeout in seconds
- protected static final int ELEM_TIMEOUT = 120;
+ protected static final int ELEM_TIMEOUT = 220;
@BeforeClass
public void setupChromeForLogin() throws Exception {
String browser = System.getProperty("browser");
+ //String browser ="*firefox /usr/lib64/firefox-3.0.1/firefox";
selenium = new DefaultSelenium("127.0.0.1", 44444, browser, "http://localhost:8080/portal/");
JBossSeleniumTestListener.selenium = selenium;
selenium.start();
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSelenium.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSelenium.java 2008-12-08 23:00:09 UTC (rev 12365)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSelenium.java 2008-12-09 16:42:43 UTC (rev 12366)
@@ -13,7 +13,7 @@
public class JBossSelenium extends DefaultSelenium {
- protected static String PAGE_LOAD= "250000";
+ protected static String PAGE_LOAD= "350000";
protected static int count;
@Override
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSeleniumTestListener.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSeleniumTestListener.java 2008-12-08 23:00:09 UTC (rev 12365)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossSeleniumTestListener.java 2008-12-09 16:42:43 UTC (rev 12366)
@@ -17,14 +17,15 @@
import com.thoughtworks.selenium.Selenium;
import com.thoughtworks.selenium.SeleniumException;
-public class JBossSeleniumTestListener extends TestListenerAdapter {//extends ITestListener {
+public class JBossSeleniumTestListener extends TestListenerAdapter {
protected static Selenium selenium;
protected static int count;
-
+ protected static boolean screenshot = false;
+
@Override
- public void onTestFailure(ITestResult tr) {
- String name = "F_"+tr.getName()+"-" + count ;
+ public void onTestFailure(ITestResult tr) {
+ String name = "F_" + tr.getName() + "-" + count;
try {
PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(name + ".html")));
out.println(selenium.getHtmlSource());
@@ -32,14 +33,14 @@
} catch (IOException e1) {
e1.printStackTrace();
}
- /*
- try {
- selenium.windowMaximize();
- selenium.captureScreenshot(name + ".jpg");
- } catch (SeleniumException e2) {
- e2.printStackTrace();
- }
- */
+ if (screenshot)
+ try {
+ selenium.windowMaximize();
+ selenium.captureScreenshot(name + ".jpg");
+ } catch (SeleniumException e2) {
+ e2.printStackTrace();
+ }
+
count++;
}
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/UserLoginTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/UserLoginTestCase.java 2008-12-08 23:00:09 UTC (rev 12365)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/UserLoginTestCase.java 2008-12-09 16:42:43 UTC (rev 12366)
@@ -25,6 +25,7 @@
@Test(enabled = true, description = "login as default user 'user' with password 'user'.")
public void testDefaultUserLogin() throws Exception {
+ //selenium.setSpeed("7000");
selenium.open("/portal");
selenium.waitForPageToLoad(PAGE_LOAD);
@@ -34,6 +35,9 @@
selenium.click("link=Login");
selenium.selectFrame("login-content");
+ waitForElement("xpath=id('j_username')");
+ waitForElement("xpath=id('j_password')");
+
Assert.assertTrue(selenium.isElementPresent("xpath=id('j_username')"), "Expected input DOM element for username doesn't exist.");
selenium.type("j_username", "user");
Assert.assertTrue(selenium.isElementPresent("xpath=id('j_password')"), "Expected input DOM element for password doesn't exist.");
@@ -63,6 +67,9 @@
selenium.click("link=Login");
selenium.selectFrame("login-content");
+ waitForElement("xpath=id('j_username')");
+ waitForElement("xpath=id('j_password')");
+
Assert.assertTrue(selenium.isElementPresent("xpath=id('j_username')"), "Expected input DOM element for username doesn't exist.");
selenium.type("j_username", "admin");
Assert.assertTrue(selenium.isElementPresent("xpath=id('j_password')"), "Expected input DOM element for password doesn't exist.");
@@ -94,6 +101,9 @@
selenium.click("link=Login");
selenium.selectFrame("login-content");
+ waitForElement("xpath=id('j_username')");
+ waitForElement("xpath=id('j_password')");
+
Assert.assertTrue(selenium.isElementPresent("xpath=id('j_username')"), "Expected input DOM element for username doesn't exist.");
selenium.type("j_username", "saki");
Assert.assertTrue(selenium.isElementPresent("xpath=id('j_password')"), "Expected input DOM element for password doesn't exist.");
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java 2008-12-08 23:00:09 UTC (rev 12365)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java 2008-12-09 16:42:43 UTC (rev 12366)
@@ -283,6 +283,7 @@
clickIfVisible(ID_LINK_CONSCONF);
clickIfVisible(LINK_CONSUMER_HOME);
+ waitForElement(WSRP_CONSUMER_TABLE);
r = findTableRow(WSRP_CONSUMER_TABLE, name, 0);
Assert.assertTrue(r<0, "Renamed consumer still in table");
@@ -302,18 +303,17 @@
selenium.click(SUBMIT_CREATECONS);
selenium.waitForPageToLoad(PAGE_LOAD);
- //selenium.setSpeed("5000");
-
+ waitForElement(INPUT_CACHEEXP);
selenium.type(INPUT_CACHEEXP, timeout);
+ waitForElement(INPUT_CONSWSDL);
selenium.type(INPUT_CONSWSDL, address);
selenium.click(SUBMIT_REFRESHSAVE);
selenium.waitForPageToLoad(PAGE_LOAD);
+ waitForElement(INPUT_CONS_REGVALUE);
selenium.type(INPUT_CONS_REGVALUE, "public");
selenium.click(SUBMIT_CONS_REGVAL);
selenium.waitForPageToLoad(PAGE_LOAD);
- //selenium.setSpeed("0");
-
selenium.click(SUBMIT_REFRESHFINAL);
selenium.waitForPageToLoad(PAGE_LOAD);
}
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/testng.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/testng.xml 2008-12-08 23:00:09 UTC (rev 12365)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/testng.xml 2008-12-09 16:42:43 UTC (rev 12366)
@@ -45,7 +45,7 @@
<classes>
<class name="org.jboss.portal.test.selenium.cms.CMSDirectoryTestCase"></class></classes>
</test>
- -->
+
<test name="org.jboss.portal.test.selenium.cms.CMSFileUploadTestCase"
verbose="2" annotations="JDK">
<classes>
17 years, 5 months