Author: hangnguyen
Date: 2011-02-21 01:34:14 -0500 (Mon, 21 Feb 2011)
New Revision: 5917
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_CreateNewAccount.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_ChangeSiteConfigOFPortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_ChangeContainerInPortal.html
Log:
TESTVN-2565 - Daily tests on GateIn - Clean and improve scripts
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_CreateNewAccount.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_CreateNewAccount.html 2011-02-18
12:04:18 UTC (rev 5916)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_CreateNewAccount.html 2011-02-21
06:34:14 UTC (rev 5917)
@@ -302,26 +302,6 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>No result found.</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>No result found.</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[contains(@onclick,"action=Close")]//a[text()="OK"]</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[contains(@onclick,"action=Close")]//a[text()="OK"]</td>
- <td></td>
-</tr>
-<tr>
<td>waitForTextNotPresent</td>
<td>Test_SNF_PRL_06</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_ChangeSiteConfigOFPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_ChangeSiteConfigOFPortal.html 2011-02-18
12:04:18 UTC (rev 5916)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_ChangeSiteConfigOFPortal.html 2011-02-21
06:34:14 UTC (rev 5917)
@@ -88,22 +88,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[5]/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[1]/div/div/div/div</td>
+ <td>//div[text()='Portal Templates']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[5]/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[1]/div/div/div/div</td>
+ <td>//div[text()='Portal Templates']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPortalForm']/div[3]/div[1]/div[1]/div/div/div[1]/div[2]/div[1]/div/div/div</td>
+ <td>//div[text()='Basic Portal']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPortalForm']/div[3]/div[1]/div[1]/div/div/div[1]/div[2]/div[1]/div/div/div</td>
+ <td>//div[text()='Basic Portal']</td>
<td></td>
</tr>
<tr>
@@ -113,12 +113,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
@@ -128,12 +128,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[4]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[4]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
@@ -143,12 +143,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIListPermissionSelector']/div[4]/table/tbody/tr/td/div/div/div/div/div</td>
+ <td>link=Add Permission</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIListPermissionSelector']/div[4]/table/tbody/tr/td/div/div/div/div/div</td>
+ <td>link=Add Permission</td>
<td></td>
</tr>
<tr>
@@ -178,12 +178,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PermissionSetting']/div[1]/div/div/div/div/div[3]/div/div/div/div/div[1]</td>
+ <td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='PermissionSetting']/div[1]/div/div/div/div/div[3]/div/div/div/div/div[1]</td>
+ <td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
@@ -198,12 +198,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PermissionSelector']/div/div[2]/div/div[2]/div/div/div[4]/div/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title="Partners"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='PermissionSelector']/div/div[2]/div/div[2]/div/div/div[4]/div/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title="Partners"]</td>
<td></td>
</tr>
<tr>
@@ -297,8 +297,13 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[text()='Properties']</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
@@ -308,12 +313,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
@@ -393,12 +398,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPortalComposer']//a[@title="Finish"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPortalComposer']//a[@title="Finish"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_ChangeContainerInPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_ChangeContainerInPortal.html 2011-02-18
12:04:18 UTC (rev 5916)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_ChangeContainerInPortal.html 2011-02-21
06:34:14 UTC (rev 5917)
@@ -88,22 +88,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[5]/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[1]/div/div/div/div</td>
+ <td>//div[text()='Portal Templates']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[5]/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[1]/div/div/div/div</td>
+ <td>//div[text()='Portal Templates']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPortalForm']/div[3]/div[1]/div[1]/div/div/div[1]/div[2]/div[2]/div/div/div</td>
+ <td>//div[text()='Basic Portal']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPortalForm']/div[3]/div[1]/div[1]/div/div/div[1]/div[2]/div[2]/div/div/div</td>
+ <td>//div[text()='Basic Portal']</td>
<td></td>
</tr>
<tr>
@@ -113,12 +113,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
@@ -128,12 +128,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[4]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[4]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
@@ -507,18 +507,23 @@
<td></td>
</tr>
<tr>
+ <td>pause</td>
+ <td>30000</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-- Delete portal --</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Delete</td>
+ <td>//a[@class="DeleteIcon"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Delete</td>
+ <td>//a[@class="DeleteIcon"]</td>
<td></td>
</tr>
<tr>
Show replies by date