Author: hangnguyen
Date: 2010-06-24 02:16:57 -0400 (Thu, 24 Jun 2010)
New Revision: 3446
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html
Log:
TESTVN-356: Clean and improve
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html 2010-06-24
04:33:21 UTC (rev 3445)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html 2010-06-24
06:16:57 UTC (rev 3446)
@@ -3,7 +3,7 @@
<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
<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="http://localhost:8080/portal/public/classic/" />
+<link rel="selenium.base" href="" />
<title>Test_POR_01_008_SignInByClickTheseAcoountOnHomepage</title>
</head>
<body>
@@ -13,113 +13,93 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/portal/public/classic</td>
+ <td>/portal/public/classic/</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>--Login by Root--</td>
+ <td>-- Sign In by Click These Account on Home page --</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Administrator</td>
+ <td>windowMaximize</td>
<td></td>
+ <td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Administrator</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Sign out</td>
+ <td>link=Root Root</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
+ <td>verifyText</td>
+ <td>link=Root Root</td>
+ <td>Root Root</td>
</tr>
<tr>
- <td>echo</td>
- <td>--Login byJohn--</td>
+ <td>click</td>
+ <td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>Home</td>
+ <td>click</td>
+ <td>link=Manager</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Manager</td>
+ <td>link=John Anthony</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Manager</td>
- <td></td>
+ <td>verifyText</td>
+ <td>link=John Anthony</td>
+ <td>John Anthony</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>click</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
+ <td>clickAndWait</td>
+ <td>link=User</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Login by mary--</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Home</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=User</td>
+ <td>link=Mary Kelly</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=User</td>
- <td></td>
+ <td>verifyText</td>
+ <td>link=Mary Kelly</td>
+ <td>Mary Kelly</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
+ <td>click</td>
+ <td>link=Demo</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Login by Demo--</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Home</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=Demo</td>
+ <td>link=Demo gtn</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Demo</td>
- <td></td>
+ <td>verifyText</td>
+ <td>link=Demo gtn</td>
+ <td>Demo gtn</td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -127,7 +107,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>