Author: arthurpeltier
Date: 2010-02-26 07:08:54 -0500 (Fri, 26 Feb 2010)
New Revision: 1883
Modified:
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_14.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_16.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_32.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_25.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_26.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_27.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html
Log:
GTNPORTAL-741 : * Add "Refresh" action to SeleniumTestCaseGenerator.java
* Update Tests with xpath= prefix
* Modify Test_SNF_PRL_09 verifications and goals
* Improve stability
Modified:
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java 2010-02-26
12:08:54 UTC (rev 1883)
@@ -379,6 +379,8 @@
sb.append("\"))\n break;\n }\n catch (Exception e) {}\n");
sb.append("Thread.sleep(1000);\n");
sb.append("}\n");
+ } else if (param1.equals("refresh")) {
+ sb.append("selenium.refresh();\n");
} else if (param1.equals("storeXpathCount")) {
sb.append("String ").append(param3).append(" =
selenium.getXpathCount(\"").append(param2).append(
"\").toString();\n");
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -22,6 +22,11 @@
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>150</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>--Register new account</td>
<td></td>
@@ -103,7 +108,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalLoginFormAction']//a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
<td></td>
</tr>
<tr>
@@ -148,7 +153,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalLoginFormAction']//a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
<td></td>
</tr>
<tr>
@@ -163,12 +168,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_03.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -23,7 +23,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='Language']</td>
+ <td>xpath=//a[@class='Language']</td>
<td>1,1</td>
</tr>
<tr>
@@ -48,22 +48,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='Language']</td>
+ <td>xpath=//a[@class='Language']</td>
<td>1,1</td>
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='Language']</td>
+ <td>xpath=//a[@class='Language']</td>
<td>1,1</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UITabContent']//div[2]/a</td>
+ <td>xpath=//div[@id='UITabContent']//div[2]/a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UITabContent']//div[2]/a</td>
+ <td>xpath=//div[@id='UITabContent']//div[2]/a</td>
<td>1,1</td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -42,8 +42,8 @@
<td>gtn</td>
</tr>
<tr>
- <td>click</td>
- <td>//div[@id='UIPortalLoginFormAction']//a</td>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -73,12 +73,12 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='GroupButton']</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='GroupButton']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
<td></td>
</tr>
<tr>
@@ -88,7 +88,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIOrganizationPortlet']//div[3]//div[@class='ExpandIcon']/a</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[3]//div[@class='ExpandIcon']/a</td>
<td></td>
</tr>
<tr>
@@ -103,7 +103,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIOrganizationPortlet']//div[3]//div[@class='ExpandIcon']/a</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[3]//div[@class='ExpandIcon']/a</td>
<td></td>
</tr>
<tr>
@@ -113,12 +113,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class="GroupNavigation"]//a[@class="TreeActionIcon
AddGroupIcon"]</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='TitleBar']/a[@class='TreeActionIcon
AddGroupIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class="GroupNavigation"]//a[@class="TreeActionIcon
AddGroupIcon"]</td>
+ <td>xpath=//div[2]/div[1]/div[1]/a[3]</td>
<td></td>
</tr>
<tr>
@@ -148,7 +148,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//form[@id='UIGroupForm']//div[@class='ActionButton
LightBlueStyle']</td>
+ <td>xpath=//form[@id='UIGroupForm']//div[@class='ActionButton
LightBlueStyle']</td>
<td></td>
</tr>
<tr>
@@ -168,17 +168,17 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIGroupMembershipForm']//div[@class='HorizontalLayout']//table[@class='UIFormGrid']//td[@class='FieldComponent']/a</td>
+ <td>xpath=//form[@id='UIGroupMembershipForm']//div[@class='HorizontalLayout']//table[@class='UIFormGrid']//td[@class='FieldComponent']/a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//td[2]/a</td>
+ <td>xpath=//td[2]/a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIUserSelector']/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div</td>
+ <td>xpath=//form[@id='UIUserSelector']/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -203,17 +203,17 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton
LightBlueStyle']</td>
+ <td>xpath=//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton
LightBlueStyle']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton
LightBlueStyle']</td>
+ <td>xpath=//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton
LightBlueStyle']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//input[@value='john,mary,root']</td>
+ <td>xpath=//input[@value='john,mary,root']</td>
<td></td>
</tr>
<tr>
@@ -223,7 +223,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIUserInGroup']//div[@title='john']</td>
+ <td>xpath=//div[@class='UIUserInGroup']//div[@title='john']</td>
<td></td>
</tr>
<tr>
@@ -253,7 +253,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='TreeActionIcon RemoveGroupIcon']</td>
+ <td>xpath=//a[@class='TreeActionIcon RemoveGroupIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -27,11 +27,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
<td>type</td>
<td>username</td>
<td>root</td>
@@ -43,7 +38,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -57,7 +52,7 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>link=Group</td>
<td></td>
</tr>
@@ -78,7 +73,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='MembershipButton']</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='MembershipButton']</td>
<td></td>
</tr>
<tr>
@@ -123,12 +118,12 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//table[@class='UIGrid']//tbody/tr[2]/td[5]//img[@class='EditMembershipIcon']</td>
+ <td>xpath=//table[@class='UIGrid']//tbody/tr[2]/td[5]//img[@class='EditMembershipIcon']</td>
<td>1,1</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//textarea['test_description_08']</td>
+ <td>xpath=//textarea['test_description_08']</td>
<td></td>
</tr>
<tr>
@@ -142,18 +137,23 @@
<td>1,1</td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//table[@class='UIGrid']//tbody/tr[1]/td[5]//img[@class='EditMembershipIcon']</td>
- <td>1,1</td>
+ <td>waitForTextPresent</td>
+ <td>test_description_edit_08</td>
+ <td></td>
</tr>
<tr>
+ <td>verifyTextPresent</td>
+ <td>test_description_edit_08</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>--Delete membership</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//table[@class='UIGrid']//tbody/tr[2]/td[5]//img[@class='DeleteMembershipIcon']</td>
+ <td>xpath=//table[@class='UIGrid']//tbody/tr[2]/td[5]//img[@class='DeleteMembershipIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -52,7 +52,7 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>link=Application Registry</td>
<td>1,1</td>
</tr>
@@ -68,7 +68,27 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']//div[@class='IconControl
ImportIcon']</td>
+ <td>xpath=//a[contains(@onclick,'op=RemoveApplication&objectId=GroupNavigationPortlet&ajaxRequest=true')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure to delete this application?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Group Navigation Portlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>Group Navigation Portlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']//div[@class='IconControl
ImportIcon']</td>
<td>1,1</td>
</tr>
<tr>
@@ -78,22 +98,22 @@
</tr>
<tr>
<td>waitForTextPresent</td>
- <td>Register Portlet</td>
+ <td>Group Navigation Portlet</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>Register Portlet</td>
+ <td>Group Navigation Portlet</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[contains(@onclick,'op=RemoveApplication&objectId=RegisterPortlet&ajaxRequest=true')]</td>
+ <td>xpath=//a[contains(@onclick,'op=RemoveApplication&objectId=GroupNavigationPortlet&ajaxRequest=true')]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//a[contains(@onclick,'op=RemoveApplication&objectId=RegisterPortlet&ajaxRequest=true')]</td>
+ <td>xpath=//a[contains(@onclick,'op=RemoveApplication&objectId=GroupNavigationPortlet&ajaxRequest=true')]</td>
<td></td>
</tr>
<tr>
@@ -102,11 +122,26 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Group Navigation Portlet</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextNotPresent</td>
- <td>Register Portlet</td>
+ <td>Group Navigation Portlet</td>
<td></td>
</tr>
<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']//div[@class='IconControl
ImportIcon']</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>storeConfirmation</td>
+ <td>clean</td>
+ <td></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_10.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -27,11 +27,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
<td>type</td>
<td>username</td>
<td>root</td>
@@ -43,7 +38,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -63,12 +58,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']/div[1]</td>
+ <td>xpath=//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']/div[1]</td>
<td>1,1</td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']/div[1]</td>
+ <td>xpath=//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']/div[1]</td>
<td>1,1</td>
</tr>
<tr>
@@ -98,7 +93,7 @@
</tr>
<tr>
<td>click</td>
- <td>//div[@class='WorkingArea']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>xpath=//div[@class='WorkingArea']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
@@ -123,6 +118,16 @@
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=manager</td>
<td></td>
</tr>
@@ -132,13 +137,18 @@
<td></td>
</tr>
<tr>
+ <td>waitForText</td>
+ <td>//div[@id='PermissionGrid']/table/tbody/tr/td[2]/div</td>
+ <td>manager</td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Save</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIApplicationOrganizer']//a[@class='ControlIcon
EditIcon']</td>
+ <td>xpath=//div[@id='UIApplicationOrganizer']//a[@class='ControlIcon
EditIcon']</td>
<td></td>
</tr>
<tr>
@@ -158,7 +168,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIApplicationOrganizer']//a[@class='ControlIcon
EditIcon']</td>
+ <td>xpath=//div[@id='UIApplicationOrganizer']//a[@class='ControlIcon
EditIcon']</td>
<td>1,1</td>
</tr>
<tr>
@@ -193,7 +203,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='SelectedTab']//a[@class='ControlIcon
DeleteIcon']</td>
+ <td>xpath=//div[@class='SelectedTab']//a[@class='ControlIcon
DeleteIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -58,22 +58,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
- <td>Application Registry</td>
+ <td>ApplicationRegistryPortlet</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>Application Registry</td>
+ <td>ApplicationRegistryPortlet</td>
<td></td>
</tr>
<tr>
@@ -83,17 +83,17 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
- <td>Organization Management</td>
+ <td>OrganizationPortlet</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>Organization Management</td>
+ <td>OrganizationPortlet</td>
<td></td>
</tr>
<tr>
@@ -103,17 +103,17 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[3]//a</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[3]//a</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
- <td>New Account</td>
+ <td>AccountPortlet</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>New Account</td>
+ <td>AccountPortlet</td>
<td></td>
</tr>
<tr>
@@ -123,15 +123,50 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>DashboardPortlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>DashboardPortlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Verify details of Dashboard>>Gadget Wrapper
Portlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>GadgetPortlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>GadgetPortlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--It is possible to verify all portlets.......</td>
+ <td></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_14.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_14.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_14.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -38,7 +38,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -48,12 +48,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='IconControl ImportIcon']</td>
+ <td>xpath=//div[@class='IconControl ImportIcon']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@class='IconControl ImportIcon']</td>
+ <td>xpath=//div[@class='IconControl ImportIcon']</td>
<td></td>
</tr>
<tr>
@@ -68,27 +68,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='EditPortletPropertiesIcon']</td>
+ <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='EditPortletPropertiesIcon']</td>
+ <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
<td>verifyChecked</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
<td>uncheck</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
@@ -103,7 +103,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
@@ -123,7 +123,7 @@
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[@class='IconControl ImportIcon']</td>
+ <td>xpath=//div[@class='IconControl ImportIcon']</td>
<td></td>
</tr>
<tr>
@@ -138,27 +138,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='EditPortletPropertiesIcon']</td>
+ <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='EditPortletPropertiesIcon']</td>
+ <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
<td>verifyNotChecked</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
<td>check</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
@@ -173,7 +173,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
@@ -193,7 +193,7 @@
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@class='IconControl ImportIcon']</td>
+ <td>xpath=//div[@class='IconControl ImportIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_15.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -38,7 +38,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_16.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_16.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_16.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -38,7 +38,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -53,7 +53,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UISiteMap']//div[@class='ClearFix']/div[2]</td>
+ <td>xpath=//div[@id='UISiteMap']//div[@class='ClearFix']/div[2]</td>
<td>1,1</td>
</tr>
<tr>
@@ -73,7 +73,7 @@
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[@class='ExpandIcon FloatLeft']</td>
+ <td>xpath=//div[@class='ExpandIcon FloatLeft']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_17.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -27,11 +27,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td></td>
-</tr>
-<tr>
<td>type</td>
<td>username</td>
<td>root</td>
@@ -43,7 +38,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -58,7 +53,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UISiteMap']//div[@class='ClearFix']/div[2]</td>
+ <td>xpath=//div[@id='UISiteMap']//div[@class='ClearFix']/div[2]</td>
<td>1,1</td>
</tr>
<tr>
@@ -83,7 +78,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UISiteMap']//div[@class='ClearFix']/div[1]</td>
+ <td>xpath=//div[@id='UISiteMap']//div[@class='ClearFix']/div[1]</td>
<td>1,1</td>
</tr>
<tr>
@@ -93,7 +88,7 @@
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[@class='CollapseIcon FloatLeft']</td>
+ <td>xpath=//div[@class='CollapseIcon FloatLeft']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -58,7 +58,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UISiteManagement']//div[@class='UIAction']//div[@class='ActionButton
BlueButton']</td>
+ <td>xpath=//div[@id='UISiteManagement']//div[@class='UIAction']//div[@class='ActionButton
BlueButton']</td>
<td></td>
</tr>
<tr>
@@ -68,12 +68,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
@@ -88,7 +88,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[4]//div[@class='MiddleTab']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[4]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
@@ -113,22 +113,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PermissionSelector']//a[@title='Administrators']</td>
+ <td>xpath=//div[@id='PermissionSelector']//a[@title='Administrators']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='PermissionSelector']//a[@title='Administrators']</td>
+ <td>xpath=//div[@id='PermissionSelector']//a[@title='Administrators']</td>
<td>1,1</td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='PermissionSelector']//a[@title='manager']</td>
+ <td>xpath=//div[@id='PermissionSelector']//a[@title='manager']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='PermissionSelector']//a[@title='manager']</td>
+ <td>xpath=//div[@id='PermissionSelector']//a[@title='manager']</td>
<td></td>
</tr>
<tr>
@@ -138,7 +138,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//form[@id='UIPortalForm']//div[@class='UIAction']//div[@class='ActionButton
LightBlueStyle']//div[@class='ButtonMiddle']/a</td>
+ <td>xpath=//form[@id='UIPortalForm']//div[@class='UIAction']//div[@class='ActionButton
LightBlueStyle']//div[@class='ButtonMiddle']/a</td>
<td>1,1</td>
</tr>
<tr>
@@ -172,13 +172,13 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UISiteManagement']/table[2]//a[@class='DeleteIcon']</td>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UISiteManagement']/table[2]//a[@class='DeleteIcon']</td>
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
- <td>//div[@id='UISiteManagement']/table[2]//a[@class='DeleteIcon']</td>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UISiteManagement']/table/tbody/tr/td[2]/div</td>
<td></td>
</tr>
<tr>
@@ -187,21 +187,31 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
+ <td>clickAt</td>
+ <td>link=Site</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Site</td>
+ <td>waitForTextPresent</td>
+ <td>Portal Navigation</td>
<td></td>
</tr>
<tr>
+ <td>refresh</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
<td>waitForTextPresent</td>
<td>Portal Navigation</td>
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>test_portal_18</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextNotPresent</td>
<td>test_portal_18</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_31.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -38,7 +38,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_32.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_32.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_32.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -58,17 +58,17 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UITabContent']//div[@class='ItemListContainer']//div[@class='ItemList']//div[@class='SelectedItem
Item']</td>
+ <td>xpath=//div[@id='UITabContent']//div[@class='ItemListContainer']//div[@class='ItemList']//div[@class='SelectedItem
Item']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UITabContent']//div[@class='ItemListContainer']//div[@class='ItemList']//div[@class='SelectedItem
Item']</td>
+ <td>xpath=//div[@id='UITabContent']//div[@class='ItemListContainer']//div[@class='ItemList']//div[@class='SelectedItem
Item']</td>
<td>1,1</td>
</tr>
<tr>
<td>clickAtAndWait</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='ActionButton
LightBlueStyle']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='ActionButton
LightBlueStyle']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -103,7 +103,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalLoginFormAction']//a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
<td></td>
</tr>
<tr>
@@ -188,7 +188,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalLoginFormAction']//a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
<td></td>
</tr>
<tr>
@@ -233,7 +233,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalLoginFormAction']//a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
<td></td>
</tr>
<tr>
@@ -248,12 +248,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -63,12 +63,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='EditPortletPropertiesIcon']</td>
+ <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='EditPortletPropertiesIcon']</td>
+ <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
<td></td>
</tr>
<tr>
@@ -93,22 +93,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td>xpath=//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td>xpath=//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UILogoPortlet']/a/img[@src='http://ocs.inrialpes.fr/userfiles/image/logo/Picture%203.png']</td>
+ <td>xpath=//div[@id='UILogoPortlet']/a/img[@src='http://ocs.inrialpes.fr/userfiles/image/logo/Picture%203.png']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@id='UILogoPortlet']/a/img[@src='http://ocs.inrialpes.fr/userfiles/image/logo/Picture%203.png']</td>
+ <td>xpath=//div[@id='UILogoPortlet']/a/img[@src='http://ocs.inrialpes.fr/userfiles/image/logo/Picture%203.png']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -38,7 +38,7 @@
</tr>
<tr>
<td>clickAtAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -88,7 +88,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIRowContainer']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div[2]/div/div/div/div</td>
+ <td>xpath=//div[@class='UIRowContainer']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div[2]/div/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -103,7 +103,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIRowContainer']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div/div/div/div/div</td>
+ <td>xpath=//div[@class='UIRowContainer']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div/div/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -143,12 +143,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="http://localhost:8080/portal"
/>
-<title>SNF_PRL_22 Not working select</title>
+<title>SNF_PRL_22</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">SNF_PRL_22 Not working
select</td></tr>
+<tr><td rowspan="1"
colspan="3">SNF_PRL_22</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -78,7 +78,7 @@
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
@@ -133,7 +133,7 @@
</tr>
<tr>
<td>waitForText</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
+ <td>xpath=//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
<td>exact:*</td>
</tr>
<tr>
@@ -143,7 +143,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
+ <td>xpath=//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
<td>1,1</td>
</tr>
<tr>
@@ -198,7 +198,7 @@
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
@@ -208,7 +208,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
+ <td>xpath=//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
<td>1,1</td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_28 Not working</title>
+<title>SNF_PRL_28</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">SNF_PRL_28 Not
working</td></tr>
+<tr><td rowspan="1"
colspan="3">SNF_PRL_28</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -73,42 +73,42 @@
</tr>
<tr>
<td>type</td>
- <td>//input[@id='url']</td>
+ <td>xpath=//input[@id='url']</td>
<
td>http://www.google.com/ig/modules/datetime.xml</td>
</tr>
<tr>
<td>clickAt</td>
- <td>//img[@class='AddNewNodeIcon']</td>
+ <td>xpath=//img[@class='AddNewNodeIcon']</td>
<td>1,1</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td>xpath=//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td>xpath=//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='GadgetTitle']</td>
+ <td>xpath=//div[@class='GadgetTitle']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@class='GadgetTitle']</td>
+ <td>xpath=//div[@class='GadgetTitle']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@title='Delete Gadget']</td>
+ <td>xpath=//div[@title='Delete Gadget']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
+ <td>xpath=//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
<td></td>
</tr>
<tr>
@@ -133,52 +133,47 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
+ <td>xpath=//div[@class='GadgetTitle' and
@title='Calculator']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
+ <td>xpath=//div[@class='GadgetTitle' and
@title='Calculator']</td>
<td></td>
</tr>
<tr>
<td>dragAndDropToObject</td>
- <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
- <td>//div[@class='UIDashboardContainer']</td>
+ <td>xpath=//div[@class='GadgetTitle' and
@title='Calculator']</td>
+ <td>xpath=//div[@class='UIDashboardContainer']</td>
</tr>
<tr>
- <td>echo</td>
- <td>--------To fast</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='GadgetTitle' and @style='display:
block;']</td>
+ <td>xpath=//div[@class='GadgetTitle' and @style='display:
block;']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@class='GadgetTitle' and @style='display:
block;']</td>
+ <td>xpath=//div[@class='GadgetTitle' and @style='display:
block;']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='CloseGadget IconControl']</td>
+ <td>xpath=//div[@class='CloseGadget IconControl']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td>xpath=//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td>xpath=//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
+ <td>xpath=//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_24 Users not always same place</title>
+<title>SNF_PRL_24</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">SNF_PRL_24 Users not
always same place</td></tr>
+<tr><td rowspan="1"
colspan="3">SNF_PRL_24</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -113,7 +113,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab']</td>
+ <td>xpath=//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
@@ -128,7 +128,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIRepeater']//img[@class='SelectPageIcon']</td>
+ <td>xpath=//div[@id='UIRepeater']//img[@class='SelectPageIcon']</td>
<td></td>
</tr>
<tr>
@@ -158,7 +158,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
+ <td>xpath=//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -168,20 +168,25 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
+ <td>xpath=//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
+ <td>xpath=//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>priority</td>
+ <td>description</td>
<td></td>
</tr>
<tr>
+ <td>type</td>
+ <td>description</td>
+ <td>test_description_edit_24</td>
+</tr>
+<tr>
<td>select</td>
<td>priority</td>
<td>10</td>
@@ -192,23 +197,28 @@
<td></td>
</tr>
<tr>
+ <td>verifyTextPresent</td>
+ <td>Description: test_description_edit_24</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@title='test_grp_label_24']</td>
+ <td>xpath=//a[@title='test_grp_label_24']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//a[@title='test_grp_label_24']</td>
+ <td>xpath=//a[@title='test_grp_label_24']</td>
<td></td>
</tr>
<tr>
@@ -218,12 +228,12 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_24']</td>
+ <td>xpath=//a[@title='test_grp_label_24']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_21</title>
+<title>SNF_PRL_21 verifyTextNotPresent failing in Java</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_21</td></tr>
+<tr><td rowspan="1" colspan="3">SNF_PRL_21
verifyTextNotPresent failing in Java</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -197,6 +197,26 @@
<td></td>
</tr>
<tr>
+ <td>clickAt</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Portal Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>refresh</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Portal Navigation</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForTextNotPresent</td>
<td>test_portal_name_21</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_25.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_25.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_25.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="http://localhost:8080/" />
-<title>SNF_PRL_25</title>
+<title>Test_SNF_PRL_25</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_25</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_25</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -113,7 +113,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//img[@title='Select Page']</td>
+ <td>xpath=//img[@title='Select Page']</td>
<td></td>
</tr>
<tr>
@@ -153,22 +153,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>300</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIPopupWindow UIDragObject' and
contains(@style,'width: 400px; display: block; visibility:
visible')]//a[@title='test_grp_label_25']</td>
+ <td>xpath=//div[@class='UIPopupWindow UIDragObject' and
contains(@style,'width: 400px; display: block; visibility:
visible')]//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_25']</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
@@ -178,12 +183,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
<td></td>
</tr>
<tr>
@@ -198,12 +203,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
<td>check</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
@@ -213,12 +218,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='EdittedSaveButton']</td>
+ <td>xpath=//a[@class='EdittedSaveButton']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='EdittedSaveButton']</td>
+ <td>xpath=//a[@class='EdittedSaveButton']</td>
<td></td>
</tr>
<tr>
@@ -243,22 +248,32 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>300</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>0</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIPopupWindow UIDragObject' and
contains(@style,'width: 400px; display: block; visibility:
visible')]//a[@title='test_grp_label_25']</td>
+ <td>xpath=//div[@class='UIPopupWindow UIDragObject' and
contains(@style,'width: 400px; display: block; visibility:
visible')]//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_25']</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
@@ -268,7 +283,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
<td></td>
</tr>
<tr>
@@ -283,12 +298,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
<td>uncheck</td>
- <td>//input[@class='checkbox']</td>
+ <td>xpath=//input[@class='checkbox']</td>
<td></td>
</tr>
<tr>
@@ -298,12 +313,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='EdittedSaveButton']</td>
+ <td>xpath=//a[@class='EdittedSaveButton']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//a[@class='EdittedSaveButton']</td>
+ <td>xpath=//a[@class='EdittedSaveButton']</td>
<td></td>
</tr>
<tr>
@@ -323,22 +338,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIPopupWindow UIDragObject' and
contains(@style,'width: 400px; display: block; visibility:
visible')]//a[@title='test_grp_label_25']</td>
+ <td>xpath=//div[@class='UIPopupWindow UIDragObject' and
contains(@style,'width: 400px; display: block; visibility:
visible')]//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_25']</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
@@ -347,8 +362,13 @@
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>300</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
@@ -367,6 +387,11 @@
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>0</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementNotPresent</td>
<td>link=test_grp_label_25</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_26.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_26.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_26.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_26</title>
+<title>Test_SNF_PRL_26</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_26</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_26</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -103,12 +103,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//img[@title='Select Page']</td>
+ <td>xpath=//img[@title='Select Page']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//img[@title='Select Page']</td>
+ <td>xpath=//img[@title='Select Page']</td>
<td></td>
</tr>
<tr>
@@ -127,13 +127,18 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=test_grp_label_26</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=test_grp_label_26</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
+ <td>xpath=//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -153,17 +158,17 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//a[@title='test_grp_label_26']</td>
+ <td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
@@ -177,23 +182,33 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=test_grp_label_26</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_26']</td>
+ <td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveUp16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveUp16x16Icon']</td>
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>300</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveUp16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveUp16x16Icon']</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
- <td>//div[@class='TreeContainer
JSContainer']/div/div[${nodeLvl}]/div/a[@title='test_grp_label_26']</td>
+ <td>xpath=//div[@class='TreeContainer
JSContainer']/div/div[${nodeLvl}]/div/a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
@@ -208,22 +223,22 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_26']</td>
+ <td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveDown16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveDown16x16Icon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveDown16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveDown16x16Icon']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@class='TreeContainer
JSContainer']/div/div[${nodeLvl}]/div/a[@title='test_grp_label_26']</td>
+ <td>xpath=//div[@class='TreeContainer
JSContainer']/div/div[${nodeLvl}]/div/a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
@@ -243,32 +258,32 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//a[@title='test_grp_label_26']</td>
+ <td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_26']</td>
+ <td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
@@ -297,6 +312,11 @@
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>0</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign out</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_27.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_27.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_27.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_27</title>
+<title>Test_SNF_PRL_27</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_27</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_27</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -172,16 +172,31 @@
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>300</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Edit Page</td>
<td></td>
</tr>
<tr>
+ <td>setSpeed</td>
+ <td>0</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>--Show form to edit page by wizard</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=View Page properties</td>
+ <td>1,1</td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=View Page properties</td>
<td>1,1</td>
@@ -207,16 +222,31 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Platform</td>
+ <td>1,1</td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Platform</td>
<td>1,1</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Administrators</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIPageFormPopupGroupMembershipSelector']//div[@class='MembershipSelector']//a</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>//div[@id='UIPageFormPopupGroupMembershipSelector']//div[@class='MembershipSelector']//a</td>
<td></td>
@@ -227,6 +257,11 @@
<td>1,1</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
@@ -262,9 +297,14 @@
<td>1,1</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>locale</td>
+ <td></td>
+</tr>
+<tr>
<td>select</td>
<td>locale</td>
- <td>label=French (France)</td>
+ <td>label=French</td>
</tr>
<tr>
<td>clickAt</td>
@@ -297,8 +337,13 @@
<td>1,1</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>locale</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextPresent</td>
- <td>French (France)</td>
+ <td>French</td>
<td></td>
</tr>
<tr>
@@ -317,73 +362,78 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Group</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIComponentBlock']//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@class='UIComponentBlock']//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIComponentBlock']//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@class='UIComponentBlock']//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIGroupNavigationGrid']/table[4]/tbody/tr/td[3]/a[1]</td>
+ <td>xpath=//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[1]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIGroupNavigationGrid']/table[4]/tbody/tr/td[3]/a[1]</td>
+ <td>xpath=//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[1]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='TreeContainer JSContainer']/div/div[2]//a</td>
+ <td>xpath=//div[@class='TreeContainer
JSContainer']/div/div[2]//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='TreeContainer JSContainer']/div/div[2]//a</td>
+ <td>xpath=//div[@class='TreeContainer
JSContainer']/div/div[2]//a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='TreeContainer
JSContainer']/div/div[2]//a[@title='Page Management']</td>
+ <td>xpath=//div[@class='TreeContainer
JSContainer']/div/div[2]//a[@title='Page Management']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='TreeContainer
JSContainer']/div/div[2]//a[@title='Page Management']</td>
+ <td>xpath=//div[@class='TreeContainer
JSContainer']/div/div[2]//a[@title='Page Management']</td>
<td></td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>//a[@title='test_page_name_27']</td>
+ <td>waitForElementPresent</td>
+ <td>xpath=//a[@title='test_page_name_27']</td>
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
- <td>//a[@title='test_page_name_27']</td>
+ <td>verifyElementPresent</td>
+ <td>xpath=//a[@title='test_page_name_27']</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--------To fast</td>
+ <td>componentExoContextMenu</td>
+ <td>xpath=//a[@title='test_page_name_27']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html 2010-02-26
11:04:03 UTC (rev 1882)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html 2010-02-26
12:08:54 UTC (rev 1883)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_20</title>
+<title>Test_SNF_PRL_20</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_20</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_20</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -68,12 +68,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
+ <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
+ <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
<td></td>
</tr>
<tr>
@@ -87,8 +87,13 @@
<td>test_portal_name_20</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'Properties');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=Properties')"]</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'Properties');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=Properties')"]</td>
+ <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'Properties');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=Properties')"]</td>
<td></td>
</tr>
<tr>
@@ -98,7 +103,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PermissionSetting')"]</td>
<td></td>
</tr>
<tr>
@@ -112,6 +117,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Edit Permission Setting</td>
<td></td>
@@ -127,6 +137,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Platform</td>
<td></td>
@@ -147,13 +162,8 @@
<td></td>
</tr>
<tr>
- <td>setSpeed</td>
- <td>1000</td>
- <td></td>
-</tr>
-<tr>
<td>waitForText</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
+ <td>xpath=//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
<td>exact:*</td>
</tr>
<tr>
@@ -163,7 +173,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
+ <td>xpath=//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
<td></td>
</tr>
<tr>
@@ -177,8 +187,13 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
+ <td>xpath=//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
<td></td>
</tr>
<tr>