Author: vuthelinh
Date: 2010-07-05 04:59:07 -0400 (Mon, 05 Jul 2010)
New Revision: 3562
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html
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_07_002_ChangeLanguage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_003_CheckDisplayLanguageOfPortalInPublicMode.html
Log:
Update
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html 2010-07-05
08:58:42 UTC (rev 3561)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html 2010-07-05
08:59:07 UTC (rev 3562)
@@ -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>
@@ -87,7 +92,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>//div[@id='UIPortalLoginFormAction']/table/tbody/tr/td/div/div/div//a</td>
<td></td>
</tr>
@@ -97,7 +102,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html 2010-07-05
08:58:42 UTC (rev 3561)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html 2010-07-05
08:59:07 UTC (rev 3562)
@@ -37,7 +37,7 @@
<td>POR_01_005</td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>//div[@id='UIPortalLoginFormAction']/div/div/div/</td>
<td></td>
</tr>
@@ -52,7 +52,7 @@
<td>POR_01_005</td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Sign in</td>
<td></td>
</tr>
@@ -62,6 +62,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForValue</td>
+ <td>username</td>
+ <td>POR_01_005</td>
+</tr>
+<tr>
<td>type</td>
<td>username</td>
<td>root</td>
@@ -72,8 +77,8 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIPortalLoginFormAction']/table/tbody/tr//td</td>
+ <td>clickAndWait</td>
+ <td>link=Sign in</td>
<td></td>
</tr>
<tr>
@@ -82,15 +87,10 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-<tr>
- <td></td>
- <td></td>
- <td></td>
-</tr>
</tbody></table>
</body>
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-07-05
08:58:42 UTC (rev 3561)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html 2010-07-05
08:59:07 UTC (rev 3562)
@@ -42,12 +42,12 @@
<td>Root Root</td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Manager</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_002_ChangeLanguage.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_002_ChangeLanguage.html 2010-07-05
08:58:42 UTC (rev 3561)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_002_ChangeLanguage.html 2010-07-05
08:59:07 UTC (rev 3562)
@@ -4,12 +4,12 @@
<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="" />
-<title>Test_POR_07_002</title>
+<title>Test_POR_07_002_ChangeLanguage</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_07_002</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_07_002_ChangeLanguage</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -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>
@@ -43,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -52,7 +57,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Change Language</td>
<td></td>
</tr>
@@ -67,7 +72,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=French</td>
<td></td>
</tr>
@@ -92,7 +97,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Déconnexion</td>
<td></td>
</tr>
@@ -112,7 +117,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
@@ -133,11 +138,11 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Déconnexion</td>
<td></td>
</tr>
@@ -152,7 +157,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
@@ -173,7 +178,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -182,7 +187,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Changer la langue</td>
<td></td>
</tr>
@@ -192,7 +197,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Anglais</td>
<td></td>
</tr>
@@ -207,7 +212,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_003_CheckDisplayLanguageOfPortalInPublicMode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_003_CheckDisplayLanguageOfPortalInPublicMode.html 2010-07-05
08:58:42 UTC (rev 3561)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_003_CheckDisplayLanguageOfPortalInPublicMode.html 2010-07-05
08:59:07 UTC (rev 3562)
@@ -4,12 +4,12 @@
<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="" />
-<title>Test_POR_07_003</title>
+<title>Test_POR_07_003_CheckDisplayLanguageOfPortalInPublicMode</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_07_003</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_07_003_CheckDisplayLanguageOfPortalInPublicMode</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -22,53 +22,38 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//a[@class='Language']</td>
- <td>1,1</td>
+ <td>windowMaximize</td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Vietnamese</td>
+ <td>link=Change Language</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Vietnamese</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Apply</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>link=Apply</td>
+ <td>click</td>
+ <td>link=Change Language</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//a[@class='Language']</td>
- <td>1,1</td>
+ <td>link=Vietnamese</td>
+ <td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//a[@class='Language']</td>
- <td>1,1</td>
+ <td>click</td>
+ <td>link=Vietnamese</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UITabContent']//div[2]/a</td>
+ <td>link=Apply</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UITabContent']//div[2]/a</td>
- <td>1,1</td>
-</tr>
-<tr>
<td>clickAndWait</td>
- <td>link=Áp dụng</td>
+ <td>link=Apply</td>
<td></td>
</tr>
<tr>
@@ -77,63 +62,28 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//a[@class='Language']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=English</td>
+ <td>click</td>
+ <td>link=Thay đổi ngôn ngữ</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=English</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Apply</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>link=Apply</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>xpath=//a[@class='Language']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//a[@class='Language']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@id='UITabContent']//div[5]/a</td>
+ <td>link=Tiếng Anh</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UITabContent']//div[5]/a</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Apply</td>
+ <td>click</td>
+ <td>link=Tiếng Anh</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Sign in</td>
+ <td>link=Áp dụng</td>
<td></td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>link=Sign in</td>
+ <td>clickAndWait</td>
+ <td>link=Áp dụng</td>
<td></td>
</tr>