Author: vuthelinh
Date: 2010-06-22 06:17:52 -0400 (Tue, 22 Jun 2010)
New Revision: 3419
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeLogo.html
Log:
commit Test_SNF_PRL_34_ChangeLogo.html
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeLogo.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeLogo.html 2010-06-22
10:17:01 UTC (rev 3418)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_34_ChangeLogo.html 2010-06-22
10:17:52 UTC (rev 3419)
@@ -22,7 +22,12 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>windowMaximize</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
@@ -42,7 +47,7 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
@@ -52,7 +57,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Dashboard</td>
<td></td>
</tr>
@@ -67,21 +72,31 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Edit Layout</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>Click Edit Logo Portlet</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
- <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
+ <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//a[@class='EditPortletPropertiesIcon']</td>
+ <td>mouseOver</td>
+ <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
<td></td>
</tr>
<tr>
+ <td>click</td>
+ <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>logoUrl</td>
<td></td>
@@ -89,7 +104,7 @@
<tr>
<td>type</td>
<td>logoUrl</td>
- <td>http://ocs.inrialpes.fr/userfiles/image/logo/Picture%203.png</td>
+ <
td>http://www.omcareers.org/blog/wp-content/uploads/2009/08/facebook-s...
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -97,7 +112,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Save</td>
<td></td>
</tr>
@@ -107,7 +122,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Close</td>
<td></td>
</tr>
@@ -117,22 +132,102 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>xpath=//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UILogoPortlet']/a/img[@src='http://ocs.inrialpes.fr/userfiles/image/logo/Picture%203.png']</td>
+ <td>//img[contains(@src,'http://www.omcareers.org/blog/wp-content/uploads/2009/08/facebook-small-logo-thumb-360x360-75537-thumb-300x300-78195.png')]</td>
<td></td>
</tr>
<tr>
+ <td>verifyElementPresent</td>
+ <td>//img[contains(@src,'http://www.omcareers.org/blog/wp-content/uploads/2009/08/facebook-small-logo-thumb-360x360-75537-thumb-300x300-78195.png')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>reset logo</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
- <td>link=Sign out</td>
+ <td>link=Edit Layout</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
+ <td>link=Edit Layout</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>mouseOver</td>
+ <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>logoUrl</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>logoUrl</td>
+ <
td>http://www.exodiumtech.com/images/exo%20logo%20final1s.jpg</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Close</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Close</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>xpath=//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//img[contains(@src,'http://www.exodiumtech.com/images/exo%20logo%20final1s.jpg')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
+ <td>//img[contains(@src,'http://www.exodiumtech.com/images/exo%20logo%20final1s.jpg')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>