Author: hangnguyen
Date: 2011-02-24 04:43:57 -0500 (Thu, 24 Feb 2011)
New Revision: 5926
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_GroupManagement.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_AddUserIntoGroup.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_ShowOrHideImportApplicationIcon.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_29_AddNewpageForPortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_30_EditPageForPortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31_ManageNodePortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_EditNodePageProperties.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeContainerWhenEditPropertiesOfNodeInPortalNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_36_AddApplicationIntoContainerWhenEditPagePropertiesOfNode.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_37_ManageNavigationOfGroup.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_39_AddNewpageForGroup.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_40_EditPageForGroup.html
Log:
TESTVN-2644 - Daily tests on GateIn - Clean and improve scripts
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_GroupManagement.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_GroupManagement.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_GroupManagement.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -83,12 +83,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title="Add New Group"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title="Add New Group"]</td>
<td></td>
</tr>
<tr>
@@ -127,8 +127,13 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title="Edit Selected Group"]</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[2]</td>
+ <td>//a[@title="Edit Selected Group"]</td>
<td></td>
</tr>
<tr>
@@ -173,12 +178,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[1]</td>
+ <td>//a[@title="Delete Selected Group"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[1]</td>
+ <td>//a[@title="Delete Selected Group"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_AddUserIntoGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_AddUserIntoGroup.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_AddUserIntoGroup.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -98,12 +98,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIGroupMembershipForm']/div[2]/div/table/tbody/tr[1]/td[2]/a</td>
+ <td>//a[@title="Select User"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIGroupMembershipForm']/div[2]/div/table/tbody/tr[1]/td[2]/a</td>
+ <td>//a[@title="Select User"]</td>
<td></td>
</tr>
<tr>
@@ -118,12 +118,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIUserSelector']/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div</td>
+ <td>//div[contains(text(),'Add')]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIUserSelector']/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div</td>
+ <td>//div[contains(text(),'Add')]</td>
<td></td>
</tr>
<tr>
@@ -186,7 +186,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_ShowOrHideImportApplicationIcon.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_ShowOrHideImportApplicationIcon.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_ShowOrHideImportApplicationIcon.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -87,18 +87,23 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[contains(@title,"Hold")]</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseOver</td>
- <td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div/div/div[2]/div/div/div[1]</td>
+ <td>//div[contains(@title,"Hold")]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title="Edit Portlet"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title="Edit Portlet"]</td>
<td></td>
</tr>
<tr>
@@ -168,22 +173,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div/div/div[2]/div/div/div[1]</td>
+ <td>//div[contains(@title,"Hold")]</td>
<td></td>
</tr>
<tr>
<td>mouseOver</td>
- <td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div/div/div[2]/div/div/div[1]</td>
+ <td>//div[contains(@title,"Hold")]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title="Edit Portlet"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title="Edit Portlet"]</td>
<td></td>
</tr>
<tr>
@@ -246,7 +251,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
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-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_21_CreateNewPortal.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -83,12 +83,12 @@
</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>
@@ -97,18 +97,13 @@
<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></td>
-</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>
@@ -118,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[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>
@@ -178,32 +173,32 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div[2]/table/tbody/tr/td/div[2]/div/div/div/div</td>
+ <td>link=Select Permission</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div[2]/table/tbody/tr/td/div[2]/div/div/div/div</td>
+ <td>link=Select Permission</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PermissionSelector']/div/div[2]/div/div[2]/div/div/div[3]/div/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title="Organization"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='PermissionSelector']/div/div[2]/div/div[2]/div/div/div[3]/div/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title="Organization"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[2]/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title="manager"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[2]/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title="manager"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddNewpageForPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddNewpageForPortal.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddNewpageForPortal.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -158,12 +158,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -173,12 +173,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a</td>
+ <td>//div[@id='UINavigationNodeSelector']//a[@title="Test_SNF_PRL_29"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a</td>
+ <td>//div[@id='UINavigationNodeSelector']//a[@title="Test_SNF_PRL_29"]</td>
<td></td>
</tr>
<tr>
@@ -253,12 +253,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//form[@id='UIPageSearch']//a[@title='Quick
Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//form[@id='UIPageSearch']//a[@title='Quick
Search']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_30_EditPageForPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_30_EditPageForPortal.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_30_EditPageForPortal.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -128,12 +128,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -198,12 +198,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
@@ -228,12 +228,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[1]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Applications")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[1]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Applications")]</td>
<td></td>
</tr>
<tr>
@@ -288,17 +288,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[@title="Hold this area to drag this
portlet"]</td>
<td>Calculator</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title="Edit Portlet"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title="Edit Portlet"]</td>
<td></td>
</tr>
<tr>
@@ -318,12 +318,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Select
Icon"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Select
Icon"]</td>
<td></td>
</tr>
<tr>
@@ -343,22 +343,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Decoration
Themes"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Decoration
Themes"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/div</td>
+ <td>//div[@id='UIItemThemeSelector']//div[text()="Pink
Simple"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/div</td>
+ <td>//div[@id='UIItemThemeSelector']//div[text()="Pink
Simple"]</td>
<td></td>
</tr>
<tr>
@@ -418,17 +418,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[@title="Hold this area to drag this
portlet"]</td>
<td>Calculator</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Portlet"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Portlet"]</td>
<td></td>
</tr>
<tr>
@@ -448,27 +448,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[@title="Hold this area to drag this
container"]</td>
<td>Container</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Container"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Container"]</td>
<td></td>
</tr>
<tr>
@@ -488,31 +488,16 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title="Finish"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title="Finish"]</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>-- View node after change application --</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='PortalNavigationTopContainer']/div[3]/div/div/div/div/div/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>//div[@id='PortalNavigationTopContainer']/div[3]/div/div/div/div/div/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
<td>-- Go to Edit Navigation --</td>
<td></td>
</tr>
@@ -628,12 +613,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31_ManageNodePortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31_ManageNodePortal.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31_ManageNodePortal.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -63,12 +63,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -108,12 +108,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
@@ -153,12 +153,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -233,12 +233,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -278,12 +278,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
@@ -323,12 +323,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -408,12 +408,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_EditNodePageProperties.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_EditNodePageProperties.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_EditNodePageProperties.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -63,12 +63,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -97,23 +97,18 @@
<td>Test_SNF_PRL_33</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Page Selector--</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
@@ -148,12 +143,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -233,12 +228,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -313,7 +308,7 @@
</tr>
<tr>
<td>pause</td>
- <td>1000</td>
+ <td>10000</td>
<td></td>
</tr>
<tr>
@@ -323,12 +318,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -368,22 +363,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title="Test_SNF_PRL_33"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title="Test_SNF_PRL_33"]</td>
<td></td>
</tr>
<tr>
@@ -458,12 +453,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -503,12 +498,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeContainerWhenEditPropertiesOfNodeInPortalNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeContainerWhenEditPropertiesOfNodeInPortalNavigation.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeContainerWhenEditPropertiesOfNodeInPortalNavigation.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -63,12 +63,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -97,23 +97,18 @@
<td>Test_SNF_PRL_34</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Page Selector--</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
@@ -148,12 +143,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -228,22 +223,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_34']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_34']</td>
<td></td>
</tr>
<tr>
@@ -268,7 +263,7 @@
</tr>
<tr>
<td>pause</td>
- <td>1000</td>
+ <td>10000</td>
<td></td>
</tr>
<tr>
@@ -333,12 +328,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIPortalComposerTab']//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
@@ -388,12 +383,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//div[@title="Hold this area to drag this
container"]</td>
+ <td>Container</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title="Edit Container"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title="Edit Container"]</td>
<td></td>
</tr>
<tr>
@@ -419,7 +419,7 @@
<tr>
<td>waitForElementPresent</td>
<td>height</td>
- <td>100px</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
@@ -443,13 +443,13 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[@title="Hold this area to drag this
container"]</td>
<td>Test_SNF_PRL_34</td>
</tr>
<tr>
<td>dragAndDropToObject</td>
- <td>//div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div</td>
- <td>//a[@title='mix']</td>
+ <td>//div[@title="Hold this area to drag this
container"]</td>
+ <td>//div[contains(text(),"Community Management")]</td>
</tr>
<tr>
<td>echo</td>
@@ -483,17 +483,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div[2]/div/div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[@title="Hold this area to drag this
container"]</td>
<td>Test_SNF_PRL_34</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Container"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Container"]</td>
<td></td>
</tr>
<tr>
@@ -508,12 +508,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -553,12 +553,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -63,12 +63,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -103,12 +103,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Page Selector']</td>
<td></td>
</tr>
<tr>
@@ -143,12 +143,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -223,22 +223,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_35']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_35']</td>
<td></td>
</tr>
<tr>
@@ -377,16 +377,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[1]</td>
- <td></td>
-</tr>
-<tr>
- <td>mouseOver</td>
- <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[1]</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Return to normal view --</td>
<td></td>
@@ -408,17 +398,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[@title="Hold this area to drag this
portlet"]</td>
<td>Calculator</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title='Edit Portlet']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title='Edit Portlet']</td>
<td></td>
</tr>
<tr>
@@ -438,12 +428,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Select
Icon"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Select
Icon"]</td>
<td></td>
</tr>
<tr>
@@ -463,12 +453,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Decoration
Themes"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Decoration
Themes"]</td>
<td></td>
</tr>
<tr>
@@ -538,18 +528,13 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[@title="Hold this area to drag this
portlet"]</td>
<td>Test_SNF_PRL_35</td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>//div[1]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[1]</td>
- <td></td>
-</tr>
-<tr>
<td>dragAndDropToObject</td>
- <td>//div[1]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[1]</td>
- <td>//div[@class='LabelTab']</td>
+ <td>//div[@title="Hold this area to drag this
portlet"]</td>
+ <td>//div[contains(text(),"Community Management")]</td>
</tr>
<tr>
<td>echo</td>
@@ -593,17 +578,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[1]</td>
<td>Test_SNF_PRL_35</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
@@ -618,12 +603,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -663,12 +648,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_36_AddApplicationIntoContainerWhenEditPagePropertiesOfNode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_36_AddApplicationIntoContainerWhenEditPagePropertiesOfNode.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_36_AddApplicationIntoContainerWhenEditPagePropertiesOfNode.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -63,12 +63,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
@@ -97,18 +97,18 @@
<td>Test_SNF_PRL_36</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>echo</td>
+ <td>-- Page Selector--</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>-- Page Selector--</td>
+ <td>waitForElementPresent</td>
+ <td>//div[text()="Page Selector"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()="Page Selector"]</td>
<td></td>
</tr>
<tr>
@@ -143,12 +143,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//form[@id='UIPageSearch']//a[@title="Quick
Search"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//form[@id='UIPageSearch']//a[@title="Quick
Search"]</td>
<td></td>
</tr>
<tr>
@@ -223,22 +223,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_36']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_36']</td>
<td></td>
</tr>
<tr>
@@ -263,7 +263,7 @@
</tr>
<tr>
<td>pause</td>
- <td>1000</td>
+ <td>10000</td>
<td></td>
</tr>
<tr>
@@ -328,12 +328,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
@@ -358,12 +358,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[1]/div/div/div/div</td>
+ <td>//div[contains(text(),"Applications")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[1]/div/div/div/div</td>
+ <td>//div[contains(text(),"Applications")]</td>
<td></td>
</tr>
<tr>
@@ -418,17 +418,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
- <td>Calculator</td>
+ <td>//div[contains(@title,"Hold")]</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Portlet"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Portlet"]</td>
<td></td>
</tr>
<tr>
@@ -448,27 +448,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
- <td>Container</td>
+ <td>//div[contains(@title,"Hold")]</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Container"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title="Delete Container"]</td>
<td></td>
</tr>
<tr>
@@ -488,12 +488,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title="Finish"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title="Finish"]</td>
<td></td>
</tr>
<tr>
@@ -538,27 +538,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Edit Navigation</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"classic")
and text()="Edit Navigation"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_36']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[8]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_36']</td>
<td></td>
</tr>
<tr>
<td>pause</td>
- <td>1000</td>
+ <td>10000</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_37_ManageNavigationOfGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_37_ManageNavigationOfGroup.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_37_ManageNavigationOfGroup.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -186,7 +186,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -118,11 +118,6 @@
</tr>
<tr>
<td>echo</td>
- <td>--
https://jira.jboss.org/browse/GTNPORTAL-1402--</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
<td>-- Return to default priority--</td>
<td></td>
</tr>
@@ -176,7 +171,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_39_AddNewpageForGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_39_AddNewpageForGroup.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_39_AddNewpageForGroup.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -73,12 +73,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageNodeSelector']/div/div/div[2]/div/div/div/div[1]/a</td>
+ <td>//div[@id='UIPageNodeSelector']//a[@title='Up
Level']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageNodeSelector']/div/div/div[2]/div/div/div/div[1]/a</td>
+ <td>//div[@id='UIPageNodeSelector']//a[@title='Up
Level']</td>
<td></td>
</tr>
<tr>
@@ -133,12 +133,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']/div[1]//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']/div[1]//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -178,12 +178,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div[2]/div[3]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_39']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div[2]/div[3]/div/a</td>
+ <td>//a[@title='Test_SNF_PRL_39']</td>
<td></td>
</tr>
<tr>
@@ -217,6 +217,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Save</td>
<td></td>
@@ -239,7 +244,7 @@
<tr>
<td>waitForElementPresent</td>
<td>searchTerm</td>
- <td>Test_SNF_PRL_39</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_40_EditPageForGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_40_EditPageForGroup.html 2011-02-23
14:19:04 UTC (rev 5925)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_40_EditPageForGroup.html 2011-02-24
09:43:57 UTC (rev 5926)
@@ -73,12 +73,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageNodeSelector']/div/div/div[2]/div/div/div/div[1]/a</td>
+ <td>//div[@id='UIPageNodeSelector']//a[@title='Up
Level']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageNodeSelector']/div/div/div[2]/div/div/div/div[1]/a</td>
+ <td>//div[@id='UIPageNodeSelector']//a[@title='Up
Level']</td>
<td></td>
</tr>
<tr>
@@ -133,12 +133,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -203,12 +203,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
@@ -233,12 +233,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[1]/div/div/div/div</td>
+ <td>//div[contains(text(),"Applications")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[1]/div/div/div/div</td>
+ <td>//div[contains(text(),"Applications")]</td>
<td></td>
</tr>
<tr>
@@ -293,17 +293,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[contains(@title,"Hold")]</td>
<td>Calculator</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title='Edit Portlet']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td>//a[@title='Edit Portlet']</td>
<td></td>
</tr>
<tr>
@@ -323,12 +323,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Select
Icon"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Select
Icon"]</td>
<td></td>
</tr>
<tr>
@@ -348,22 +348,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Decoration
Themes"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()="Decoration
Themes"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/div</td>
+ <td>//div[text()='Pink Simple']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/div</td>
+ <td>//div[text()='Pink Simple']</td>
<td></td>
</tr>
<tr>
@@ -423,17 +423,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
- <td>Calculator</td>
+ <td>//div[contains(@title,"Hold")]</td>
+ <td>Test_SNF_PRL_40</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title='Delete Portlet']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title='Delete Portlet']</td>
<td></td>
</tr>
<tr>
@@ -453,27 +453,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div</td>
+ <td>//div[contains(text(),"Containers")]</td>
<td></td>
</tr>
<tr>
<td>mouseOver</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[contains(@title,"Hold")]</td>
<td>Container</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title='Delete Container']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//a[@title='Delete Container']</td>
<td></td>
</tr>
<tr>
@@ -493,12 +493,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//div[@id='UIPageEditor']//a[@title='Finish']</td>
<td></td>
</tr>
<tr>
@@ -572,6 +572,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Save</td>
<td></td>
@@ -608,12 +613,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>