Author: hangnguyen
Date: 2011-02-23 06:11:38 -0500 (Wed, 23 Feb 2011)
New Revision: 5924
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_26_ChangeApplicationInPortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_AddApplicationIntoContainerInLayoutOfPortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_EditPortalConfig.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_25_ChangeContainerInPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_ChangeContainerInPortal.html 2011-02-23
11:11:25 UTC (rev 5923)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_ChangeContainerInPortal.html 2011-02-23
11:11:38 UTC (rev 5924)
@@ -218,12 +218,12 @@
</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>
@@ -243,12 +243,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[1]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_25")
and text()="Edit Layout"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[1]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_25")
and text()="Edit Layout"]</td>
<td></td>
</tr>
<tr>
@@ -293,12 +293,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>
@@ -333,12 +333,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposer']/div[3]/div/div/div[1]/table/tbody/tr/td/div[2]/div/div/div/div</td>
+ <td>link=Switch View Mode</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposer']/div[3]/div/div/div[1]/table/tbody/tr/td/div[2]/div/div/div/div</td>
+ <td>link=Switch View Mode</td>
<td></td>
</tr>
<tr>
@@ -348,12 +348,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>
@@ -379,7 +384,7 @@
<tr>
<td>waitForElementPresent</td>
<td>height</td>
- <td>100px</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
@@ -403,7 +408,7 @@
</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></td>
</tr>
<tr>
@@ -448,17 +453,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div[4]/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_25</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[4]/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[4]/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>
@@ -473,12 +478,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>
@@ -518,12 +523,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class="DeleteIcon"]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_25")
and text()="Delete"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//a[@class="DeleteIcon"]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_25")
and text()="Delete"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_ChangeApplicationInPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_ChangeApplicationInPortal.html 2011-02-23
11:11:25 UTC (rev 5923)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_ChangeApplicationInPortal.html 2011-02-23
11:11:38 UTC (rev 5924)
@@ -62,6 +62,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add New Portal</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Add New Portal</td>
<td></td>
@@ -83,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>
@@ -108,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>
@@ -123,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>
@@ -213,12 +218,12 @@
</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>
@@ -238,12 +243,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[1]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_26")
and text()="Edit Layout"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[1]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_26")
and text()="Edit Layout"]</td>
<td></td>
</tr>
<tr>
@@ -344,16 +349,16 @@
<tr>
<td>mouseOver</td>
<td>//div[3]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]</td>
- <td>Calculator</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[3]/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[3]/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>
@@ -373,12 +378,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>
@@ -398,22 +403,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//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[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>
@@ -508,17 +513,17 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>//div[4]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]</td>
+ <td>//div[5]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[1]</td>
<td>Test_SNF_PRL_26</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[4]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[5]/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[4]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[5]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
@@ -533,12 +538,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>
@@ -548,12 +553,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Delete</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_26")
and text()="Delete"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Delete</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_26")
and text()="Delete"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_AddApplicationIntoContainerInLayoutOfPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_AddApplicationIntoContainerInLayoutOfPortal.html 2011-02-23
11:11:25 UTC (rev 5923)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_AddApplicationIntoContainerInLayoutOfPortal.html 2011-02-23
11:11:38 UTC (rev 5924)
@@ -63,12 +63,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UISiteManagement']/table/tbody/tr/td[3]/a[1]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=classic")
and text()="Edit Layout"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UISiteManagement']/table/tbody/tr/td[3]/a[1]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=classic")
and text()="Edit Layout"]</td>
<td></td>
</tr>
<tr>
@@ -92,6 +92,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Switch View Mode</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Switch View Mode</td>
<td></td>
@@ -103,12 +108,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>
@@ -133,12 +138,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>
@@ -183,17 +188,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>
@@ -213,27 +218,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>
@@ -253,12 +258,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_28_EditPortalConfig.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_EditPortalConfig.html 2011-02-23
11:11:25 UTC (rev 5923)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_EditPortalConfig.html 2011-02-23
11:11:38 UTC (rev 5924)
@@ -108,22 +108,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/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[@id='UIMaskWorkspace']/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()='Classic 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()='Classic Portal']</td>
<td></td>
</tr>
<tr>
@@ -133,12 +133,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>
@@ -148,12 +148,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>
@@ -218,22 +218,22 @@
</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>
@@ -273,12 +273,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[3]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"Test_SNF_PRL_28")
and text()="Edit Portal's Config"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[3]</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"Test_SNF_PRL_28")
and text()="Edit Portal's Config"]</td>
<td></td>
</tr>
<tr>
@@ -294,7 +294,7 @@
<tr>
<td>waitForElementPresent</td>
<td>skin</td>
- <td>label=Default</td>
+ <td></td>
</tr>
<tr>
<td>select</td>
@@ -308,12 +308,12 @@
</tr>
<tr>
<td>waitForElementPresent</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>
<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>
@@ -333,32 +333,32 @@
</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>
<td>waitForElementPresent</td>
- <td>//div[@id='UIListPermissionSelector']/div[4]/table/tbody/tr/td/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</td>
+ <td>link=Add Permission</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='ListPermissionSelector']/div/div[2]/div/div[2]/div/div/div[3]/div/a</td>
+ <td>//div[@id='ListPermissionSelector']//a[@title="Organization"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='ListPermissionSelector']/div/div[2]/div/div[2]/div/div/div[3]/div/a</td>
+ <td>//div[@id='ListPermissionSelector']//a[@title="Organization"]</td>
<td></td>
</tr>
<tr>
@@ -423,12 +423,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Delete</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_28")
and text()="Delete"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Delete</td>
+ <td>//div[@id='UISiteManagement']//a[contains(@href,"objectId=Test_SNF_PRL_28")
and text()="Delete"]</td>
<td></td>
</tr>
<tr>