Author: hangnguyen
Date: 2010-04-28 00:39:34 -0400 (Wed, 28 Apr 2010)
New Revision: 2855
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
Log:
Change script for
Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-04-28
01:24:35 UTC (rev 2854)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-04-28
04:39:34 UTC (rev 2855)
@@ -207,18 +207,23 @@
<td></td>
</tr>
<tr>
- <td>click</td>
- <td>//img[@title='Edit Page']</td>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@title='Edit Page']</td>
<td></td>
</tr>
<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@title='Edit Page']</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-- Go to editing portal page's properties--</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPageEditor']/div[3]/div/div/div[1]/table/tbody/tr/td/div[1]/div/div/div/div</td>
+ <td>xpath=//div[@id='UIPageEditor']/div[3]/div/div/div[1]/table/tbody/tr/td/div[1]/div/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -228,7 +233,7 @@
</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>xpath=//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>
@@ -308,7 +313,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>
Show replies by date