[gatein-commits] gatein SVN: r4246 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Sep 20 00:35:06 EDT 2010


Author: hangnguyen
Date: 2010-09-20 00:35:05 -0400 (Mon, 20 Sep 2010)
New Revision: 4246

Modified:
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_017_CreateNewAccountWhenFirstNameStartsWithNumber.html
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_018_CreateNewAccountWhenLastNameStartWithNumber.html
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_019_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_020_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_021_CreateNewAccountWithFirstLastNameIncludesSpecialCharacters.html
Log:
TestVN-356:Clean and Improve existing Selenium for GateIn

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_017_CreateNewAccountWhenFirstNameStartsWithNumber.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_017_CreateNewAccountWhenFirstNameStartsWithNumber.html	2010-09-20 03:32:03 UTC (rev 4245)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_017_CreateNewAccountWhenFirstNameStartsWithNumber.html	2010-09-20 04:35:05 UTC (rev 4246)
@@ -97,7 +97,32 @@
 	<td>Test_PRL_01_017 at gmail.com</td>
 </tr>
 <tr>
+	<td>echo</td>
+	<td>-- Choose user Profile --</td>
+	<td></td>
+</tr>
+<tr>
 	<td>waitForElementPresent</td>
+	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>user.language</td>
+	<td></td>
+</tr>
+<tr>
+	<td>select</td>
+	<td>user.language</td>
+	<td>label=German</td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
 	<td>link=Save</td>
 	<td></td>
 </tr>
@@ -183,7 +208,7 @@
 </tr>
 <tr>
 	<td>clickAndWait</td>
-	<td>link=Sign out</td>
+	<td>link=Abmelden</td>
 	<td></td>
 </tr>
 <tr>
@@ -307,14 +332,14 @@
 	<td></td>
 </tr>
 <tr>
-	<td>clickAndWait</td>
+	<td>waitForElementPresent</td>
 	<td>link=Sign out</td>
 	<td></td>
 </tr>
 <tr>
-	<td>close</td>
+	<td>clickAndWait</td>
+	<td>link=Sign out</td>
 	<td></td>
-	<td></td>
 </tr>
 
 </tbody></table>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_018_CreateNewAccountWhenLastNameStartWithNumber.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_018_CreateNewAccountWhenLastNameStartWithNumber.html	2010-09-20 03:32:03 UTC (rev 4245)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_018_CreateNewAccountWhenLastNameStartWithNumber.html	2010-09-20 04:35:05 UTC (rev 4246)
@@ -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_PRL_018_CreateNewAccountWhenLastNameStartWithNumber</title>
+<title>Test_PRL_01_018_CreateNewAccountWhenLastNameStartWithNumber</title>
 </head>
 <body>
 <table cellpadding="1" cellspacing="1" border="1">
 <thead>
-<tr><td rowspan="1" colspan="3">Test_PRL_018_CreateNewAccountWhenLastNameStartWithNumber</td></tr>
+<tr><td rowspan="1" colspan="3">Test_PRL_01_018_CreateNewAccountWhenLastNameStartWithNumber</td></tr>
 </thead><tbody>
 <tr>
 	<td>open</td>
@@ -97,7 +97,32 @@
 	<td>Test_PRL_01_018 at gmail.com</td>
 </tr>
 <tr>
+	<td>echo</td>
+	<td>-- Choose User Profile --</td>
+	<td></td>
+</tr>
+<tr>
 	<td>waitForElementPresent</td>
+	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>user.language</td>
+	<td></td>
+</tr>
+<tr>
+	<td>select</td>
+	<td>user.language</td>
+	<td>label=French</td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
 	<td>link=Save</td>
 	<td></td>
 </tr>
@@ -183,7 +208,7 @@
 </tr>
 <tr>
 	<td>clickAndWait</td>
-	<td>link=Sign out</td>
+	<td>link=Déconnexion</td>
 	<td></td>
 </tr>
 <tr>
@@ -307,14 +332,14 @@
 	<td></td>
 </tr>
 <tr>
-	<td>clickAndWait</td>
+	<td>waitForElementPresent</td>
 	<td>link=Sign out</td>
 	<td></td>
 </tr>
 <tr>
-	<td>close</td>
+	<td>clickAndWait</td>
+	<td>link=Sign out</td>
 	<td></td>
-	<td></td>
 </tr>
 
 </tbody></table>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_019_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_019_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html	2010-09-20 03:32:03 UTC (rev 4245)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_019_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html	2010-09-20 04:35:05 UTC (rev 4246)
@@ -102,6 +102,11 @@
 	<td></td>
 </tr>
 <tr>
+	<td>waitForElementPresent</td>
+	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+	<td></td>
+</tr>
+<tr>
 	<td>click</td>
 	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
 	<td></td>
@@ -114,7 +119,7 @@
 <tr>
 	<td>select</td>
 	<td>user.language</td>
-	<td>label=Portuguese (Brazil) (Brazil)</td>
+	<td>label=Portuguese (Brazil)</td>
 </tr>
 <tr>
 	<td>waitForElementPresent</td>
@@ -317,14 +322,14 @@
 	<td></td>
 </tr>
 <tr>
-	<td>clickAndWait</td>
+	<td>waitForElementPresent</td>
 	<td>link=Sign out</td>
 	<td></td>
 </tr>
 <tr>
-	<td>close</td>
+	<td>clickAndWait</td>
+	<td>link=Sign out</td>
 	<td></td>
-	<td></td>
 </tr>
 
 </tbody></table>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_020_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_020_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html	2010-09-20 03:32:03 UTC (rev 4245)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_020_CreateNewAccoutFirstNameStartsWithUnderscoreDashDot.html	2010-09-20 04:35:05 UTC (rev 4246)
@@ -114,7 +114,7 @@
 <tr>
 	<td>select</td>
 	<td>user.language</td>
-	<td>label=Portuguese (Brazil) (Brazil)</td>
+	<td>label=Portuguese (Brazil)</td>
 </tr>
 <tr>
 	<td>waitForElementPresent</td>
@@ -321,11 +321,6 @@
 	<td>link=Sign out</td>
 	<td></td>
 </tr>
-<tr>
-	<td>close</td>
-	<td></td>
-	<td></td>
-</tr>
 
 </tbody></table>
 </body>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_021_CreateNewAccountWithFirstLastNameIncludesSpecialCharacters.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_021_CreateNewAccountWithFirstLastNameIncludesSpecialCharacters.html	2010-09-20 03:32:03 UTC (rev 4245)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_01_021_CreateNewAccountWithFirstLastNameIncludesSpecialCharacters.html	2010-09-20 04:35:05 UTC (rev 4246)
@@ -97,7 +97,32 @@
 	<td>Test_PRL_01_021 at gmail.com</td>
 </tr>
 <tr>
+	<td>echo</td>
+	<td>-- Choose User Profile --</td>
+	<td></td>
+</tr>
+<tr>
 	<td>waitForElementPresent</td>
+	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>user.language</td>
+	<td></td>
+</tr>
+<tr>
+	<td>select</td>
+	<td>user.language</td>
+	<td>label=Ukrainian</td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
 	<td>link=Save</td>
 	<td></td>
 </tr>
@@ -178,7 +203,7 @@
 </tr>
 <tr>
 	<td>clickAndWait</td>
-	<td>link=Sign out</td>
+	<td>link=Вийти</td>
 	<td></td>
 </tr>
 <tr>
@@ -301,11 +326,6 @@
 	<td>link=Sign out</td>
 	<td></td>
 </tr>
-<tr>
-	<td>close</td>
-	<td></td>
-	<td></td>
-</tr>
 
 </tbody></table>
 </body>



More information about the gatein-commits mailing list