Author: hangnguyen
Date: 2011-02-24 04:44:54 -0500 (Thu, 24 Feb 2011)
New Revision: 5927
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_002_SignInByAdminAccount.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_005_SignInByUnregisteredUserName.html
Log:
TESTVN-2644 - Daily tests on GateIn - Clean and improve scripts
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_002_SignInByAdminAccount.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_002_SignInByAdminAccount.html 2011-02-24
09:43:57 UTC (rev 5926)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_002_SignInByAdminAccount.html 2011-02-24
09:44:54 UTC (rev 5927)
@@ -61,12 +61,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Sign in</td>
- <td></td>
-</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_005_SignInByUnregisteredUserName.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_005_SignInByUnregisteredUserName.html 2011-02-24
09:43:57 UTC (rev 5926)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_01_005_SignInByUnregisteredUserName.html 2011-02-24
09:44:54 UTC (rev 5927)
@@ -17,7 +17,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>
@@ -57,14 +62,14 @@
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
+ <td>waitForTextPresent</td>
<td>Sign in failed. Wrong username or password.</td>
<td></td>
</tr>
<tr>
- <td>waitForValue</td>
- <td>username</td>
- <td>POR_01_005</td>
+ <td>verifyTextPresent</td>
+ <td>Sign in failed. Wrong username or password.</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
@@ -91,7 +96,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>