Author: hangnguyen
Date: 2011-08-12 06:53:46 -0400 (Fri, 12 Aug 2011)
New Revision: 7054
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03_ChangeDisplayLanguageInPublicMode.html
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_07_UsersManagement.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15_AddApplicationIntoCategory.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17_ManageRemoteGadget.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_ManageManualGadget.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_LinkToGadget.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20_ExpandAllCollapseAll.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_21_CreateNewPortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_DeletePortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_ChangeUsingPortal.html
Log:
TESTVN-4013 - Daily tests on Portal
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03_ChangeDisplayLanguageInPublicMode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03_ChangeDisplayLanguageInPublicMode.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03_ChangeDisplayLanguageInPublicMode.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -57,7 +57,7 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>link=Apply</td>
<td></td>
</tr>
@@ -102,7 +102,7 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>link=Appliquer</td>
<td></td>
</tr>
@@ -147,7 +147,7 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>link=Áp dụng</td>
<td></td>
</tr>
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-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_CreateNewAccount.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -298,7 +298,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete Test_SNF_PRL_06 user?</td>
+ <td>Are you sure to delete Test_SNF_PRL_06 user?</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07_UsersManagement.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07_UsersManagement.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07_UsersManagement.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -328,7 +328,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete Test_SNF_PRL_07 user?</td>
+ <td>Are you sure to delete Test_SNF_PRL_07 user?</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15_AddApplicationIntoCategory.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15_AddApplicationIntoCategory.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15_AddApplicationIntoCategory.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -228,7 +228,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want delete this category and all its
applications?</td>
+ <td>Are you sure to delete this category and all its applications?</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17_ManageRemoteGadget.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17_ManageRemoteGadget.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17_ManageRemoteGadget.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -198,7 +198,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete this gadget?</td>
+ <td>Are you sure to delete this gadget?</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_ManageManualGadget.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_ManageManualGadget.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_ManageManualGadget.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -248,7 +248,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete this gadget?</td>
+ <td>Are you sure to delete this gadget?</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_LinkToGadget.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_LinkToGadget.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_LinkToGadget.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -92,26 +92,16 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='PortalNavigationTopContainer']/div[1]/div[1]/div/div/div/div/div/a</td>
+ <td>verifyElementPresent</td>
+ <td>//li[4]/ul/li[2]/a</td>
<td></td>
</tr>
<tr>
<td>mouseOver</td>
- <td>//div[@id='PortalNavigationTopContainer']/div[1]/div[1]/div/div/div/div/div/a</td>
- <td>Organization</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[2]/div/div/div[2]/div/div/a</td>
+ <td>//li[4]/ul/li[2]/a</td>
<td></td>
</tr>
<tr>
- <td>mouseOver</td>
- <td>//div[2]/div/div/div[2]/div/div/a</td>
- <td>Users and groups management</td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20_ExpandAllCollapseAll.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20_ExpandAllCollapseAll.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20_ExpandAllCollapseAll.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -57,66 +57,21 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Expand SiteMap tree</td>
+ <td>click</td>
+ <td>css=div.ExpandIcon.ClearFix > a.NodeIcon.DefaultPageIcon</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UISiteMap']/div[1]/div[2]</td>
+ <td>click</td>
+ <td>css=div.ExpandIcon.ClearFix > a.NodeIcon.DefaultPageIcon</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UISiteMap']/div[1]/div[2]</td>
+ <td>css=div.ExpandIcon.ClearFix > a.NodeIcon.DefaultPageIcon</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>Application Registry</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Application Registry</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Page Management</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Page Management</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>New Staff</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Users and groups management</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Blog</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Red Hat</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Facebook</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>--Collapse SiteMap Tree</td>
<td></td>
@@ -133,32 +88,32 @@
</tr>
<tr>
<td>echo</td>
- <td>-- verify Application Registry disappear</td>
+ <td>-- verify Application Manager disappear</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>//div[@id='UISiteMap']/div[2]/div/div[3]/div[2]/div[1]/div/div/a</td>
+ <td>verifyNotVisible</td>
+ <td>//div[@id='UISiteMap']//a[text()='Applications
Manager']</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>-- verify Page Management disappear</td>
+ <td>-- verify Pages Manager disappear</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>//div[3]/div[2]/div[2]/div/div/a</td>
+ <td>verifyNotVisible</td>
+ <td>//div[@id='UISiteMap']//a[text()='Pages Manager']</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>-- verify New Staff disappear</td>
+ <td>-- verify New Staff disappear</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>//div[4]/div[2]/div[1]/div/div/a</td>
+ <td>verifyNotVisible</td>
+ <td>//div[@id='UISiteMap']//a[text()='New Staff']</td>
<td></td>
</tr>
<tr>
@@ -168,27 +123,27 @@
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[4]/div[2]/div[2]/div/div/a</td>
+ <td>//div[@id='UISiteMap']//a[text()='Users and Groups
Manager']</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>-- verify Blog disappear</td>
+ <td>-- verify Blog disappear</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[5]/div[2]/div[1]/div/div/a</td>
+ <td>//div[@id='UISiteMap']//a[text()='Blog']</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>-- verify Google disappear</td>
+ <td>-- verify Red Hat disappear</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[5]/div[2]/div[2]/div/div/a</td>
+ <td>//div[@id='UISiteMap']//a[text()='Red Hat']</td>
<td></td>
</tr>
<tr>
@@ -198,7 +153,7 @@
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[2]/div[3]/div/div/a</td>
+ <td>//div[@id='UISiteMap']//a[text()='Facebook']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_21_CreateNewPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_21_CreateNewPortal.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_21_CreateNewPortal.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -113,12 +113,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[text()='Permission Setting']</td>
+ <td>//div[text()='Permission Settings']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[text()='Permission Setting']</td>
+ <td>//div[text()='Permission Settings']</td>
<td></td>
</tr>
<tr>
@@ -163,12 +163,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Permission Setting</td>
+ <td>link=Edit Permission Settings</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Permission Setting</td>
+ <td>link=Edit Permission Settings</td>
<td></td>
</tr>
<tr>
@@ -263,7 +263,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete this portal?</td>
+ <td>Are you sure to delete this portal?</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_DeletePortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_DeletePortal.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_DeletePortal.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -168,12 +168,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Permission Setting</td>
+ <td>link=Edit Permission Settings</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Permission Setting</td>
+ <td>link=Edit Permission Settings</td>
<td></td>
</tr>
<tr>
@@ -248,7 +248,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete this portal?</td>
+ <td>Are you sure to delete this portal?</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_ChangeUsingPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_ChangeUsingPortal.html 2011-08-12
03:40:34 UTC (rev 7053)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_ChangeUsingPortal.html 2011-08-12
10:53:46 UTC (rev 7054)
@@ -173,12 +173,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Permission Setting</td>
+ <td>link=Edit Permission Settings</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Permission Setting</td>
+ <td>link=Edit Permission Settings</td>
<td></td>
</tr>
<tr>
@@ -288,7 +288,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete this portal?</td>
+ <td>Are you sure to delete this portal?</td>
<td></td>
</tr>
<tr>