Author: hangnguyen
Date: 2010-09-29 06:36:43 -0400 (Wed, 29 Sep 2010)
New Revision: 4430
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_006_CheckDisplayLanguageOfPortalAfterChangeLanguageInOrganization.html
Log:
TestVN-356:Clean and Improve existing Selenium for GateIn
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_006_CheckDisplayLanguageOfPortalAfterChangeLanguageInOrganization.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_006_CheckDisplayLanguageOfPortalAfterChangeLanguageInOrganization.html 2010-09-29
10:32:25 UTC (rev 4429)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_006_CheckDisplayLanguageOfPortalAfterChangeLanguageInOrganization.html 2010-09-29
10:36:43 UTC (rev 4430)
@@ -92,11 +92,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>user.language</td>
- <td></td>
-</tr>
-<tr>
<td>select</td>
<td>user.language</td>
<td>label=Vietnamese</td>
@@ -107,21 +102,31 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The user profile has been updated.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The user profile has been updated.</td>
+ <td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>//div[2]/div[2]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
+ <td>//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
@@ -218,12 +223,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UITabContent']/div/div/div/div/div/div[2]/div[2]</td>
+ <td>link=Tiếng Anh</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UITabContent']/div/div/div/div/div/div[2]/div[2]</td>
+ <td>link=Tiếng Anh</td>
<td></td>
</tr>
<tr>
Show replies by date