Author: dbaeli
Date: 2010-02-11 22:22:00 -0500 (Thu, 11 Feb 2010)
New Revision: 1652
Added:
portal/trunk/testsuite/GateIn_v3.0_BasicPortlets_TestDefinition.ods
portal/trunk/testsuite/GateIn_v3.0_MainFucntions_TestDefinition.ods
portal/trunk/testsuite/GateIn_v3.0_SniffTests.ods
Removed:
portal/trunk/testsuite/ui-tests/GateIn_v3.0_BasicPortlets_TestDefinition.ods
portal/trunk/testsuite/ui-tests/GateIn_v3.0_MainFucntions_TestDefinition.ods
portal/trunk/testsuite/ui-tests/GateIn_v3.0_SniffTests.ods
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_11.html
Log:
GTNPORTAL-509: Recorded SniffTests with Generator
* Updated tests definitions
* Stability improvments for 09 and 11recorded scripts
Copied: portal/trunk/testsuite/GateIn_v3.0_BasicPortlets_TestDefinition.ods (from rev
1651, portal/trunk/testsuite/ui-tests/GateIn_v3.0_BasicPortlets_TestDefinition.ods)
===================================================================
(Binary files differ)
Copied: portal/trunk/testsuite/GateIn_v3.0_MainFucntions_TestDefinition.ods (from rev
1651, portal/trunk/testsuite/ui-tests/GateIn_v3.0_MainFucntions_TestDefinition.ods)
===================================================================
(Binary files differ)
Copied: portal/trunk/testsuite/GateIn_v3.0_SniffTests.ods (from rev 1651,
portal/trunk/testsuite/ui-tests/GateIn_v3.0_SniffTests.ods)
===================================================================
(Binary files differ)
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html 2010-02-12
02:43:19 UTC (rev 1651)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html 2010-02-12
03:22:00 UTC (rev 1652)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="http://localhost:8080/" />
-<title>SNF_PRL_09</title>
+<title>Test_SNF_PRL_09</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_09</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_09</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -53,7 +53,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Select "Application Registry"</td>
+ <td>--Select "Application Registry"</td>
<td></td>
</tr>
<tr>
@@ -98,6 +98,26 @@
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>//a[contains(@onclick,'op=RemoveApplication&objectId=WSRPAdminPortlet&ajaxRequest=true')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//a[contains(@onclick,'op=RemoveApplication&objectId=WSRPAdminPortlet&ajaxRequest=true')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure to delete this application?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>WSRP Admin Portlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_11.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_11.html 2010-02-12
02:43:19 UTC (rev 1651)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_11.html 2010-02-12
03:22:00 UTC (rev 1652)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_11</title>
+<title>Test_SNF_PRL_11</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_11</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_11</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -83,7 +83,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//input[@name='application' and @value='2']</td>
+ <td>//input[@name='application' and @value='1']</td>
<td>1,1</td>
</tr>
<tr>
Deleted: portal/trunk/testsuite/ui-tests/GateIn_v3.0_BasicPortlets_TestDefinition.ods
===================================================================
(Binary files differ)
Deleted: portal/trunk/testsuite/ui-tests/GateIn_v3.0_MainFucntions_TestDefinition.ods
===================================================================
(Binary files differ)
Deleted: portal/trunk/testsuite/ui-tests/GateIn_v3.0_SniffTests.ods
===================================================================
(Binary files differ)