Author: hangnguyen
Date: 2010-12-28 04:55:54 -0500 (Tue, 28 Dec 2010)
New Revision: 5657
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_55_EditPageForUser.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_58_ChangeApplicationWhenEditLayoutForUserPage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_63_ManagePageOfUser.html
Log:
TESTVN-2247 - Daily tests on GateIn - Clean and improve scripts
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_55_EditPageForUser.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_55_EditPageForUser.html 2010-12-28
09:16:04 UTC (rev 5656)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_55_EditPageForUser.html 2010-12-28
09:55:54 UTC (rev 5657)
@@ -167,13 +167,13 @@
<td></td>
</tr>
<tr>
- <td>waitForElementNotPresent</td>
- <td>css= div[@id="UIPortalApplication"]</td>
+ <td>waitForElementPresent</td>
+ <td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>css= div[@id="UIPortalApplication"]</td>
+ <td>verifyElementPresent</td>
+ <td>//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -544,7 +544,7 @@
<tr>
<td>waitForElementPresent</td>
<td>searchTerm</td>
- <td>Test_SNF_PRL_55</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_58_ChangeApplicationWhenEditLayoutForUserPage.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_58_ChangeApplicationWhenEditLayoutForUserPage.html 2010-12-28
09:16:04 UTC (rev 5656)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_58_ChangeApplicationWhenEditLayoutForUserPage.html 2010-12-28
09:55:54 UTC (rev 5657)
@@ -167,13 +167,13 @@
<td></td>
</tr>
<tr>
- <td>waitForElementNotPresent</td>
- <td>css= div[@id="UIPortalApplication"]</td>
+ <td>waitForElementPresent</td>
+ <td>// div[@id="UIPortalApplication"]</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>css= div[@id="UIPortalApplication"]</td>
+ <td>verifyElementPresent</td>
+ <td>//div[@id="UIPortalApplication"]</td>
<td></td>
</tr>
<tr>
@@ -217,16 +217,26 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>UIPortalApplication</td>
+ <td>waitForTextPresent</td>
+ <td>Test_SNF_PRL_58</td>
<td></td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>UIPortalApplication</td>
+ <td>verifyTextPresent</td>
+ <td>Test_SNF_PRL_58</td>
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>Calculator</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Calculator</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-- Return to normal view --</td>
<td></td>
@@ -496,7 +506,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_63_ManagePageOfUser.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_63_ManagePageOfUser.html 2010-12-28
09:16:04 UTC (rev 5656)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_63_ManagePageOfUser.html 2010-12-28
09:55:54 UTC (rev 5657)
@@ -92,6 +92,11 @@
<td>Test_SNF_PRL_63</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>title</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>title</td>
<td>Test_SNF_PRL_63</td>
@@ -276,7 +281,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>