From do-not-reply at jboss.org Tue Jun 22 07:03:05 2010 Content-Type: multipart/mixed; boundary="===============2689839837230342623==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3420 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium. Date: Tue, 22 Jun 2010 07:03:05 -0400 Message-ID: <201006221103.o5MB35p2018910@svn01.web.mwc.hst.phx2.redhat.com> --===============2689839837230342623== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-06-22 07:03:04 -0400 (Tue, 22 Jun 2010) New Revision: 3420 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_PRL_01_001_CreateNewAccountWithValidValues.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_PRL_01_003_CreateNewAccountWithUserNameTheSameWithExistin= gButDifferentByLowerUpperCase.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_PRL_01_008_CreateNewAccountWithUserNameTheSameWithExistin= g.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_PRL_01_012_CreateNewAccountWhenCopyFromPasswordAndPasteTo= ConfirmPassword.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_PRL_01_024_CreateNewAccoutWithInvalidEmail.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_PRL_02_03_007_ChangeUserProfileInCommunityManagement.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_PRL_02_04_001_DeleteSpecificUserFromExistingUsersListInCo= mmunityManagement.html Log: TESTVN-399: Create new GateIn Selenium Scrips Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_PRL_01_001_CreateNewAccountWithValidValues.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_001_CreateNewAccountWithValidValues.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_001_CreateNewAccountWithValidValues.html 2010-06-= 22 11:03:04 UTC (rev 3420) @@ -0,0 +1,237 @@ + + + + + + +Test_PRL_01_001_CreateNewAccountWithValidValues + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_PRL_01_001_CreateNewAccountWithVa= lidValues
open/portal/public/classic/
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DNew Staff
typeusernamePLT_01_001
typepasswordPLT_01_001
typeConfirmpasswordPLT_01_001
typefirstNamePLT_01_001
typelastNamePLT_01_001
typeemailPLT_01_001(a)yahoo.com
echo-- User Profile tab--
click//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.language
selectuser.languagelabel=3DFrench
clicklink=3DSave
click//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
clickAndWaitlink=3DSign out
echo-- Sign in with new account--
clicklink=3DSign in
waitForElementPresentusername
typeusernamePLT_01_001
typepasswordPLT_01_001
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DD=C3=A9connexion
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
click//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
waitForElementPresentlink=3DUsers and groups management
clicklink=3DUsers and groups management
waitForElementPresentsearchTerm
typesearchTermPLT_01_001
click//form[@id=3D'UISearchForm']/div[2]/a
waitForElementPresent//img[@alt=3D'DeleteUser']
click//img[@alt=3D'DeleteUser']
assertConfirmationAre you sure you want to delete PLT_01_001 user?
waitForElementPresent//div[3]/div/div/div/div/div[2]No result found.
verifyText//div[3]/div/div/div/div/div[2]No result found.
click//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
clicklink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_PRL_01_003_CreateNewAccountWithUserNameTheSameWithExi= stingButDifferentByLowerUpperCase.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_003_CreateNewAccountWithUserNameTheSameWithExisti= ngButDifferentByLowerUpperCase.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_003_CreateNewAccountWithUserNameTheSameWithExisti= ngButDifferentByLowerUpperCase.html 2010-06-22 11:03:04 UTC (rev 3420) @@ -0,0 +1,447 @@ + + + + + + +Test_PRL_01_003_CreateNewAccountWithUserNameTheSameWithExistingButD= ifferentByLowerUpperCase + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_PRL_01_003_CreateNewAccountWithUs= erNameTheSameWithExistingButDifferentByLowerUpperCase
open/portal/public/classic/
echo-- Create new user with lower case--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DNew Staff
waitForElementPresentusername
typeusernametest_prl_01_003
typepasswordtest_prl_01_003
typeConfirmpasswordtest_prl_01_003
typefirstNametest_prl_01_003
typelastNametest_prl_01_003
typeemailtest_prl_01_003(a)gmail.com
click//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.language
selectuser.languagelabel=3DVietnamese
click//form[@id=3D'UIAccountForm']/div[3]/div[2]/table/tbody/tr/td/div[1]/= div/div/div
waitForElementPresent//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
echo--Create new user with upper case--
waitForElementPresentusername
typeusernameTEST_PRL_01_003
typepasswordTEST_PRL_01_003
typeConfirmpasswordTEST_PRL_01_003
typefirstNameTEST_PRL_01_003
typelastNameTEST_PRL_01_003
typeemailTEST_PRL_01_003(a)gmail.com
click//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.language
selectuser.languagelabel=3DEnglish
clicklink=3DSave
waitForElementPresent//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
clickAndWaitlink=3DSign out
echo--Login in with user is lower case--
clicklink=3DSign in
waitForElementPresentusername
typeusernametest_prl_01_003
typepasswordtest_prl_01_003
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3D=C4=90=C4=83ng xu=E1=BA=A5t
echo--Login in with user is upper case--
clicklink=3DSign in
waitForElementPresentusername
typeusernameTEST_PRL_01_003
typepasswordTEST_PRL_01_003
waitForElementPresent//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
waitForElementPresentlink=3DSign in
clicklink=3DSign in
echo-- Delete user--
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo-- Go to user and group management--
clicklink=3DUsers and groups management
echo--Delete user is upper case--
waitForElementPresentsearchTerm
typesearchTermTEST_PRL_01_003
click//form[@id=3D'UISearchForm']/div[2]/a
waitForElementPresent//img[@alt=3D'DeleteUser']
click//img[@alt=3D'DeleteUser']
assertConfirmationAre you sure you want to delete TEST_PRL_01_003 user?
waitForElementPresent//div[3]/div/div/div/div/div[2]No result found.
verifyText//div[3]/div/div/div/div/div[2]No result found.
waitForElementPresent//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div
click//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div
echo--Delete user is lower case--
waitForElementPresentsearchTerm
typesearchTermtest_prl_01_003
click//form[@id=3D'UISearchForm']/div[2]/a
waitForElementPresent//img[@alt=3D'DeleteUser']
click//img[@alt=3D'DeleteUser']
assertConfirmationAre you sure you want to delete test_prl_01_003 user?
waitForElementPresent//div[3]/div/div/div/div/div[2]No result found.
verifyText//div[3]/div/div/div/div/div[2]No result found.
waitForElementPresent//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
click//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
waitForElementPresentlink=3DSign out
clicklink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_PRL_01_008_CreateNewAccountWithUserNameTheSameWithExi= sting.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_008_CreateNewAccountWithUserNameTheSameWithExisti= ng.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_008_CreateNewAccountWithUserNameTheSameWithExisti= ng.html 2010-06-22 11:03:04 UTC (rev 3420) @@ -0,0 +1,337 @@ + + + + + + +Test_PRL_01_008_CreateNewAccountWithUserNameTheSameWithExisting</ti= tle> +</head> +<body> +<table cellpadding=3D"1" cellspacing=3D"1" border=3D"1"> +<thead> +<tr><td rowspan=3D"1" colspan=3D"3">Test_PRL_01_008_CreateNewAccountWithUs= erNameTheSameWithExisting</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/portal/public/classic/</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>-- Add new user--</td> + <td></td> +</tr> +<tr> + <td>windowMaximize</td> + <td></td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=3DSign in</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>username</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>username</td> + <td>root</td> +</tr> +<tr> + <td>type</td> + <td>password</td> + <td>gtn</td> +</tr> +<tr> + <td>clickAndWait</td> + <td>//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a</td> + <td></td> +</tr> +<tr> + <td>clickAndWait</td> + <td>link=3DNew Staff</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>username</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>username</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>password</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>Confirmpassword</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>firstName</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>lastName</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>email</td> + <td>Test_PRL_01_008(a)gmail.com</td> +</tr> +<tr> + <td>click</td> + <td>//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/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=3DRussian</td> +</tr> +<tr> + <td>click</td> + <td>link=3DSave</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[3]/div/div/div/div/div[2]</td> + <td></td> +</tr> +<tr> + <td>verifyText</td> + <td>//div[3]/div/div/div/div/div[2]</td> + <td>You have registered a new account.</td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>-- Add new user is the same with existing--</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[1]/div/div/div/div</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>username</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>username</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>password</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>Confirmpassword</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>firstName</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>lastName</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>email</td> + <td>Test_PRL_01_008(a)yahoo.com</td> +</tr> +<tr> + <td>click</td> + <td>//div[@onclick=3D"eXo.webui.UIHorizontalTabs.changeTabForUIFormT= abpane(this, 'UIAccountForm', 'UIUserProfileInputSet');javascript:eXo.webui= .UIForm.submitEvent('1bfe32ad-3098-4b6d-addb-83790862d00b#UIAccountForm','S= electTab','&objectId=3DUIUserProfileInputSet')"]</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=3DVietnamese</td> +</tr> +<tr> + <td>click</td> + <td>link=3DSave</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[2]/div/div/div/div/div/div[2]/div[1]/div/div/div/div/div[2]</td> + <td></td> +</tr> +<tr> + <td>verifyText</td> + <td>//div[2]/div/div/div/div/div/div[2]/div[1]/div/div/div/div/div[2]</td> + <td>This user name already exists, please enter a different name.</td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/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[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/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>clickAndWait</td> + <td>link=3DSign out</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSign in</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=3DSign in</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>username</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>username</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>type</td> + <td>password</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>clickAndWait</td> + <td>//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a</td> + <td></td> +</tr> +<tr> + <td>clickAndWait</td> + <td>link=3D=D0=92=D1=8B=D0=B9=D1=82=D0=B8</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=3DSign in</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--Delete user--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>username</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>username</td> + <td>root</td> +</tr> +<tr> + <td>type</td> + <td>password</td> + <td>gtn</td> +</tr> +<tr> + <td>clickAndWait</td> + <td>//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a</td> + <td></td> +</tr> +<tr> + <td>clickAndWait</td> + <td>link=3DUsers and groups management</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>searchTerm</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>searchTerm</td> + <td>Test_PRL_01_008</td> +</tr> +<tr> + <td>click</td> + <td>//form[@id=3D'UISearchForm']/div[2]/a</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//img[@alt=3D'DeleteUser']</td> + <td></td> +</tr> +<tr> + <td>assertConfirmation</td> + <td>Are you sure you want to delete Test_PRL_01_008 user?</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[4]/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[4]/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>clickAndWait</td> + <td>link=3DSign out</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_PRL_01_012_CreateNewAccountWhenCopyFromPasswordAndPas= teToConfirmPassword.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_012_CreateNewAccountWhenCopyFromPasswordAndPasteT= oConfirmPassword.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_012_CreateNewAccountWhenCopyFromPasswordAndPasteT= oConfirmPassword.html 2010-06-22 11:03:04 UTC (rev 3420) @@ -0,0 +1,142 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.or= g/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"en" lang=3D"en"> +<head profile=3D"http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8" /> +<link rel=3D"selenium.base" href=3D"" /> +<title>Test_PRL_01_012_CreateNewAccountWhenCopyFromPasswordAndPasteToConfi= rmPassword + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_PRL_01_012_CreateNewAccountWhenCo= pyFromPasswordAndPasteToConfirmPassword
open/portal/public/classic/
echo--Add new user when copy from Password and paste to Confirm Password = field--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DNew Staff
waitForElementPresentusername
typeusernameTest_PRL_01_012
typepasswordTest_PRL_01_012
typeConfirmpassword=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97= =8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F=E2=97=8F
typefirstNameTest_PRL_01_012
typelastNameTest_PRL_01_012
typeemailTest_PRL_01_012(a)gmail.com
click//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.language
selectuser.languagelabel=3DGerman
clicklink=3DSave
waitForElementPresent//div[2]/div/div/div/div/div/div[2]/div[1]/div/div/div/div/div[2]
verifyText//div[2]/div/div/div/div/div/div[2]/div[1]/div/div/div/div/div[2]Password and Confirm Password must be the same.
waitForElementPresent//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_PRL_01_024_CreateNewAccoutWithInvalidEmail.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_024_CreateNewAccoutWithInvalidEmail.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_01_024_CreateNewAccoutWithInvalidEmail.html 2010-06-= 22 11:03:04 UTC (rev 3420) @@ -0,0 +1,127 @@ + + + + + + +Test_PRL_01_024_CreateNewAccoutWithInvalidEmail + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_PRL_01_024_CreateNewAccoutWithInv= alidEmail
open/portal/public/classic/
echo--Add new user with invalid email--
clicklink=3DSign in
waitForElementPresentusernameroot
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div
clickAndWaitlink=3DNew Staff
typeusernameTest_PRL_01_024
typepasswordTest_PRL_01_024
typeConfirmpasswordTest_PRL_01_024
typefirstNameTest_PRL_01_024
typelastNameTest_PRL_01_024
typeemailTest_PRL_01_024
click//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.language
selectuser.languagelabel=3DUkrainian
clicklink=3DSave
waitForElementPresent//div[2]/div[2]/div/div/div/div/div[2]Your email address is invalid. Please enter a different address.
verifyText//div[2]/div[2]/div/div/div/div/div[2]Your email address is invalid. Please enter a different address.
click//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_PRL_02_03_007_ChangeUserProfileInCommunityManagement.= html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_02_03_007_ChangeUserProfileInCommunityManagement.htm= l (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_02_03_007_ChangeUserProfileInCommunityManagement.htm= l 2010-06-22 11:03:04 UTC (rev 3420) @@ -0,0 +1,397 @@ + + + + + + +Test_PRL_02_03_007_ChangeUserProfileInCommunityManagement + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_PRL_02_03_007_ChangeUserProfileIn= CommunityManagement
open/portal/public/classic/
echo--Add new user--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DNew Staff
waitForElementPresentusername
typeusernameTest_PRL_02_03_007
typepasswordTest_PRL_02_03_007
typeConfirmpasswordTest_PRL_02_03_007
typefirstNameTest_PRL_02_03_007
typelastNameTest_PRL_02_03_007
typeemailTest_PRL_02_03_007(a)gmail.com
click//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.language
selectuser.languagelabel=3DVietnamese
clicklink=3DSave
waitForElementPresent//div[3]/div/div/div/div/div[2]
verifyText//div[3]/div/div/div/div/div[2]You have registered a new account.
waitForElementPresent//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
waitForElementPresentlink=3DUsers and groups management
clickAndWaitlink=3DUsers and groups management
echo--Change normal User Profile information--
waitForElementPresentsearchTerm
typesearchTermTest_PRL_02_03_007
click//form[@id=3D'UISearchForm']/div[2]/a
waitForElementPresent//img[@alt=3D'ViewUserInfo']
click//img[@alt=3D'ViewUserInfo']
waitForElementPresentfirstName
typefirstNameTest_PRL_02_03_007_edit
typelastNameTest_PRL_02_03_007_edit
clicklink=3DSave
waitForElementPresent//div[3]/div/div/div/div/div[2]
verifyText//div[3]/div/div/div/div/div[2]The user profile has been updated.
waitForElementPresent//div[2]/div[2]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody= /tr/td/div/div/div/div
click//div[2]/div[2]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody= /tr/td/div/div/div/div
echo--Change displaying language for user--
waitForElementPresent//form[@id=3D'UISearchForm']/div[2]/a
click//form[@id=3D'UISearchForm']/div[2]/a
waitForElementPresent//img[@alt=3D'ViewUserInfo']
click//img[@alt=3D'ViewUserInfo']
waitForElementPresent//div[@id=3D'UIUserManagement']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
click//div[@id=3D'UIUserManagement']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.languagelabel=3DEnglish
selectuser.languagelabel=3DEnglish
clicklink=3DSave
click//div[2]/div[2]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody= /tr/td/div/div/div/div
clickAndWaitlink=3DSign out
echo--Login with user which edited--
clicklink=3DSign in
waitForElementPresentusername
typeusernameTest_PRL_02_03_007
typepasswordTest_PRL_02_03_007
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DSign out
echo--Delete new user--
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DUsers and groups management
waitForElementPresentsearchTerm
typesearchTermTest_PRL_02_03_007
click//form[@id=3D'UISearchForm']/div[2]/a
click//img[@alt=3D'DeleteUser']
assertConfirmationAre you sure you want to delete Test_PRL_02_03_007 user?
waitForElementPresent//div[3]/div/div/div/div/div[2]No result found.
verifyText//div[3]/div/div/div/div/div[2]No result found.
waitForElementPresent//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
click//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_PRL_02_04_001_DeleteSpecificUserFromExistingUsersList= InCommunityManagement.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_02_04_001_DeleteSpecificUserFromExistingUsersListInC= ommunityManagement.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_PRL_02_04_001_DeleteSpecificUserFromExistingUsersListInC= ommunityManagement.html 2010-06-22 11:03:04 UTC (rev 3420) @@ -0,0 +1,252 @@ + + + + + + +Test_PRL_02_04_001_DeleteSpecificUserFromExistingUsersListInCommuni= tyManagement + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_PRL_02_04_001_DeleteSpecificUserF= romExistingUsersListInCommunityManagement
open/portal/public/classic/
echo-- Add new user--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DNew Staff
waitForElementPresentusername
typeusernameTest_PRL_02_04_001
typepasswordTest_PRL_02_04_001
typeConfirmpasswordTest_PRL_02_04_001
typefirstNameTest_PRL_02_04_001
typelastNameTest_PRL_02_04_001
typeemailTest_PRL_02_04_001(a)gmail.com
click//div[@id=3D'UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/di= v/div[2]/div/div/div/div
waitForElementPresentuser.language
selectuser.languagelabel=3DGerman
clicklink=3DSave
waitForElementPresent//div[3]/div/div/div/div/div[2]
verifyText//div[3]/div/div/div/div/div[2]You have registered a new account.
click//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[2]/div/div[2]= /div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
clickAndWaitlink=3DSign out
echo-- Login in with new user--
clicklink=3DSign in
waitForElementPresentusername
typeusernameTest_PRL_02_04_001
typepasswordTest_PRL_02_04_001
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DAbmelden
echo-- Delete user--
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DUsers and groups management
waitForElementPresentsearchTerm
typesearchTermTest_PRL_02_04_001
click//form[@id=3D'UISearchForm']/div[2]/a
click//img[@alt=3D'DeleteUser']
assertConfirmationAre you sure you want to delete Test_PRL_02_04_001 user?
waitForElementPresent//div[3]/div/div/div/div/div[2]
verifyText//div[3]/div/div/div/div/div[2]No result found.
click//div[4]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
clickAndWaitlink=3DSign out
+ + --===============2689839837230342623==--