From do-not-reply at jboss.org Thu Jun 24 02:53:20 2010 Content-Type: multipart/mixed; boundary="===============3161805207766569749==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3453 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues. Date: Thu, 24 Jun 2010 02:53:19 -0400 Message-ID: <201006240653.o5O6rJm8019372@svn01.web.mwc.hst.phx2.redhat.com> --===============3161805207766569749== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-06-24 02:53:18 -0400 (Thu, 24 Jun 2010) New Revision: 3453 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/issues/Test_PRL_04_04_005_CheckExistingOfUserInGroupAfterHisRo= leInThatGroupWasDeleted.html Log: TESTVN-399: Create new GateIn Selenium Scrips Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/issues/Test_PRL_04_04_005_CheckExistingOfUserInGroupAfterH= isRoleInThatGroupWasDeleted.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/issues/Test_PRL_04_04_005_CheckExistingOfUserInGroupAfterHisR= oleInThatGroupWasDeleted.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/issues/Test_PRL_04_04_005_CheckExistingOfUserInGroupAfterHisR= oleInThatGroupWasDeleted.html 2010-06-24 06:53:18 UTC (rev 3453) @@ -0,0 +1,212 @@ + + + + + + +Test_PRL_04_04_005_CheckExistingOfUserInGroupAfterHisRoleInThatGrou= pWasDeleted + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_PRL_04_04_005_CheckExistingOfUser= InGroupAfterHisRoleInThatGroupWasDeleted
open/portal/public/classic/
echo--Check existing of user in group after his role in that group was de= leted--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div
echo-- Go to User and Group management--
clickAndWaitlink=3DUsers and groups management
echo-- Add new membership--
click//div[@id=3D'UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/di= v/div/a[3]/div[1]
waitForElementPresentname
typenameTest_PRL_04_04_005
typedescriptionTest_PRL_04_04_005
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Go to Group Management--
waitForElementPresent//div[@id=3D'UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/di= v/div/a[2]/div[1]
click//div[@id=3D'UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/di= v/div/a[2]/div[1]
waitForElementPresent//div[@id=3D'UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[= 1]/div[2]/div/div/div/div[3]/div/a
click//div[@id=3D'UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[= 1]/div[2]/div/div/div/div[3]/div/a
waitForElementPresentlink=3DCommunication
clicklink=3DCommunication
waitForElementPresentusername
typeusernamemary
waitForElementPresentmembership
selectmembershiplabel=3DTest_PRL_04_04_005
clicklink=3DSave
echo--https://jira.jboss.org/browse/GTNPORTAL-1335--
echo-- Return to Membership Management to delete new membership--
click//div[@id=3D'UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/di= v/div/a[3]/div[1]
waitForElementPresent//div[@id=3D'UIGrid']/table/tbody/tr[4]/td[5]/div/img[2]
click//div[@id=3D'UIGrid']/table/tbody/tr[4]/td[5]/div/img[2]
assertConfirmationAre you sure you want to delete this membership?
echo-- Check existing of user in group--
waitForElementPresentlink=3DGroup Management
clicklink=3DGroup Management
clickAndWaitlink=3DSign out
+ + --===============3161805207766569749==--