Author: vuthelinh
Date: 2010-07-05 06:36:47 -0400 (Mon, 05 Jul 2010)
New Revision: 3568
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_002_CreateNewPortalWithValidValue.html
Log:
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_002_CreateNewPortalWithValidValue.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_002_CreateNewPortalWithValidValue.html 2010-07-05
09:52:37 UTC (rev 3567)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_002_CreateNewPortalWithValidValue.html 2010-07-05
10:36:47 UTC (rev 3568)
@@ -57,11 +57,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Site</td>
<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>
@@ -103,26 +113,58 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[3]//div[@class='LeftTab']</td>
+ <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[3]//div[@class='LeftTab']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
+ <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
<td></td>
</tr>
+<!--=============-->
<tr>
<td>waitForElementPresent</td>
- <td>publicMode</td>
+ <td>link=Add Permission</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>publicMode</td>
+ <td>link=Add Permission</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>//div[@onclick="javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','ChangeNode','&subComponentId=TreeListPermissionSelector&objectId=/platform')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@onclick="javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','ChangeNode','&subComponentId=TreeListPermissionSelector&objectId=/platform')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<!--------------------------->
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Edit Permission Setting</td>
<td></td>
</tr>
@@ -153,22 +195,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Administrators</td>
+ <td>//div[5]/div[2]/div[1]/div/a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Administrators</td>
+ <td>//div[5]/div[2]/div[1]/div/a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=exact:*</td>
+ <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[4]/a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=exact:*</td>
+ <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[4]/a</td>
<td></td>
</tr>
<tr>
@@ -197,6 +239,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Site</td>
<td></td>
Show replies by date