Author: vuthelinh
Date: 2010-06-21 07:03:45 -0400 (Mon, 21 Jun 2010)
New Revision: 3414
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html
Log:
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html 2010-06-21
11:03:30 UTC (rev 3413)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html 2010-06-21
11:03:45 UTC (rev 3414)
@@ -17,19 +17,24 @@
<td></td>
</tr>
<tr>
+ <td>windowMaximize</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-ActionsDashboardpage-</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>username</td>
- <td>root</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
@@ -42,26 +47,16 @@
<td>gtn</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>clickAndWait</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
+ <td>clickAndWait</td>
<td>link=Dashboard</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Dashboard</td>
- <td>1,1</td>
-</tr>
-<tr>
<td>echo</td>
<td>--Add gadgets into dashboard page</td>
<td></td>
@@ -72,7 +67,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Add Gadgets</td>
<td></td>
</tr>
@@ -87,18 +82,28 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//input[@id='url']</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
- <td>xpath=//input[@id='url']</td>
+ <td>//input[@id='url']</td>
<
td>http://www.google.com/ig/modules/datetime.xml</td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//img[@class='AddNewNodeIcon']</td>
- <td>1,1</td>
+ <td>click</td>
+ <td>//img[@title='Add Gadget']</td>
+ <td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>new iteams display: " Date and Time"</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyElementPresent</td>
- <td>xpath=//div[@class='GadgetTitle']</td>
+ <td>//div[3]/div[1]/div/div[1]/div/div/div/div[6]</td>
<td></td>
</tr>
<tr>
@@ -107,13 +112,13 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIDashboard']/div/div/div/div/div/div/div/div[2]</td>
+ <td>verifyElementPresent</td>
+ <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIDashboard']/div/div/div/div/div/div/div/div[2]</td>
+ <td>click</td>
+ <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
@@ -142,6 +147,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add Gadgets</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Add Gadgets</td>
<td></td>
@@ -157,11 +167,16 @@
<td>xpath=//div[@class='UIDashboardContainer']</td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIDashboard']/div/div/div/div/div/div/div/div[2]</td>
+ <td>waitForElementPresent</td>
+ <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
+ <td>click</td>
+ <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@class='UIDashboardContainer']/div/div/div[3]</td>
<td></td>
@@ -177,7 +192,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
<td></td>
</tr>
@@ -187,17 +202,17 @@
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
+ <td>waitForTextPresent</td>
<td>Drag your gadgets here.</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Sign out</td>
+ <td>verifyTextPresent</td>
+ <td>Drag your gadgets here.</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>