Author: hangnguyen
Date: 2010-04-28 03:35:26 -0400 (Wed, 28 Apr 2010)
New Revision: 2856
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html
Log:
Change script for Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html 2010-04-28
04:39:34 UTC (rev 2855)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html 2010-04-28
07:35:26 UTC (rev 2856)
@@ -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>Test_POR_20_020</title>
+<title>Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_20_020</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -42,7 +42,7 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
@@ -132,7 +132,27 @@
<td>POR_20_020</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Page layout--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-- Choose Permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
<td></td>
</tr>
@@ -142,18 +162,28 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>echo</td>
+ <td>--Choose Access Permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Access Permission Setting</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>echo</td>
+ <td>--Edit permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
@@ -232,28 +262,63 @@
<td>POR_20_020</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Page Layout--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
+ <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Choose Psermission Setting--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
<td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Access Permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Access Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Access Permission Setting</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>echo</td>
+ <td>--Choose Edit Permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
@@ -293,7 +358,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Delete page of user--</td>
+ <td>--Delete page of group 2--</td>
<td></td>
</tr>
<tr>
@@ -323,7 +388,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Delete page of group--</td>
+ <td>--Delete page of group 1--</td>
<td></td>
</tr>
<tr>