From do-not-reply at jboss.org Wed Oct 6 06:38:35 2010 Content-Type: multipart/mixed; boundary="===============4280528316005025899==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r4533 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate. Date: Wed, 06 Oct 2010 06:38:34 -0400 Message-ID: <201010061038.o96AcYnE021068@svn01.web.mwc.hst.phx2.redhat.com> --===============4280528316005025899== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-10-06 06:38:34 -0400 (Wed, 06 Oct 2010) New Revision: 4533 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPubl= ic.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_11_003_CheckWhenChangeToAPortalThatIsPublic= .html Log: TESTVN-1635 - Manage folders in selegen with GTNPORTAL product Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNot= Public.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/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPub= lic.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPub= lic.html 2010-10-06 10:38:34 UTC (rev 4533) @@ -0,0 +1,322 @@ + + + + + + +Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPublic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_11_002_CheckWhenChangeToPorta= lThatIsNotPublic
open/portal/public/classic/
echo-- Check when change to a portal that is not public--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DSite
waitForElementPresentlink=3DAdd New Portal
clicklink=3DAdd New Portal
waitForElementPresentname
typenameTest_POR_11_002
echo-- Choose properties--
waitForElementPresent//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/d= iv/div
click//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/d= iv/div
echo-- Choose Permision Setting --
waitForElementPresent//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/d= iv/div
click//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/d= iv/div
echo-- Access Permision Setting--
waitForElementPresentlink=3DAdd Permission
clicklink=3DAdd Permission
waitForElementPresentlink=3DPlatform
clicklink=3DPlatform
waitForElementPresentlink=3DAdministrators
clicklink=3DAdministrators
waitForElementPresentlink=3Dmanager
clicklink=3Dmanager
echo-- Edit Permision Setting --
waitForElementPresentlink=3DEdit Permission Setting
clicklink=3DEdit Permission Setting
waitForElementPresentlink=3DSelect Permission
clicklink=3DSelect Permission
waitForElementPresentlink=3DPlatform
clicklink=3DPlatform
waitForElementPresent//div[@id=3D'PermissionSelector']/div/div[2]/div/div[2]/div/div/div[5= ]/div[2]/div[1]/div/a
click//div[@id=3D'PermissionSelector']/div/div[2]/div/div[2]/div/div/div[5= ]/div[2]/div[1]/div/a
waitForElementPresent//div[@id=3D'PermissionSelector']/div/div[3]/div/div[2]/div[4]/a
click//div[@id=3D'PermissionSelector']/div/div[3]/div/div[2]/div[4]/a
waitForElementPresentlink=3DSave
clicklink=3DSave
waitForElementPresentlink=3DTest_POR_11_002
clickAndWaitlink=3DTest_POR_11_002
echo-- Check displaying after sign out when using un-public portal --
clickAndWaitlink=3DSign out
assertLocationhttp://localhost:8080/portal/portal-unavailable.jsp
echo-- Check the next login after choosing un-public portal--
openhttp://localhost:8080/portal/private/Test_POR_11_002/
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clicklink=3DSign in
assertLocationhttp://localhost:8080/portal/private/Test_POR_11_002/
clickAndWaitlink=3Dclassic
waitForElementPresentlink=3DSite
clicklink=3DSite
waitForElementPresentlink=3DDelete
clicklink=3DDelete
waitForConfirmationPresentAre you sure you want to delete this portal?
assertConfirmationAre you sure you want to delete this portal?
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_11_003_CheckWhenChangeToAPortalThatIsPu= blic.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/candidate/Test_POR_11_003_CheckWhenChangeToAPortalThatIsPubli= c.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_11_003_CheckWhenChangeToAPortalThatIsPubli= c.html 2010-10-06 10:38:34 UTC (rev 4533) @@ -0,0 +1,322 @@ + + + + + + +Test_POR_11_003_CheckWhenChangeToAPortalThatIsPublic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_11_003_CheckWhenChangeToAPort= alThatIsPublic
open/portal/public/classic/
echo-- Check when change to a portal that is public --
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DSite
waitForElementPresentlink=3DAdd New Portal
clicklink=3DAdd New Portal
waitForElementPresentnameTest_POR_11_003
typenameTest_POR_11_003
echo-- Choose Portal Tempalte --
waitForElementPresent//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[1]/div/div/div/div
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[1]/div/div/div/div
waitForElementPresent//form[@id=3D'UIPortalForm']/div[3]/div[1]/div[1]/div/div/div[1]/div[= 2]/div[2]/div/div/div
click//form[@id=3D'UIPortalForm']/div[3]/div[1]/div[1]/div/div/div[1]/div[= 2]/div[2]/div/div/div
echo-- Choose Properties --
waitForElementPresent//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[3]/div/div/div/div
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[3]/div/div/div/div
waitForElementPresent//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[4]/div/div/div/div
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[4]/div/div/div/div
echo-- Access Permission setting --
waitForElementPresentpublicMode
clickpublicMode
echo-- Edit Permission setting --
waitForElementPresentlink=3DEdit Permission Setting
clicklink=3DEdit Permission Setting
waitForElementPresentlink=3DSelect Permission
clicklink=3DSelect Permission
waitForElementPresentlink=3DPlatform
clicklink=3DPlatform
waitForElementPresentlink=3DAdministrators
clicklink=3DAdministrators
waitForElementPresentlink=3Dexact:*
clicklink=3Dexact:*
waitForElementPresent//form[@id=3D'UIPortalForm']/div[3]/div[2]/table/tbody/tr/td/div[1]/d= iv/div/div
click//form[@id=3D'UIPortalForm']/div[3]/div[2]/table/tbody/tr/td/div[1]/d= iv/div/div
echo-- Change to new portal --
waitForElementPresentlink=3DTest_POR_11_003
clickAndWaitlink=3DTest_POR_11_003
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
assertLocationhttp://localhost:8080/portal/public/Test_POR_11_003/
echo-- Delete portal by Admin --
clickAtlink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3Dclassic
echo-- Delete new portal --
waitForElementPresentlink=3DSite
clicklink=3DSite
waitForElementPresentlink=3DDelete
clicklink=3DDelete
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this portal?
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + --===============4280528316005025899==--