From do-not-reply at jboss.org Mon Nov 1 05:48:45 2010 Content-Type: multipart/mixed; boundary="===============4133031837460226972==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r4884 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate. Date: Mon, 01 Nov 2010 05:48:45 -0400 Message-ID: <201011010948.oA19mjaJ025368@svn01.web.mwc.hst.phx2.redhat.com> --===============4133031837460226972== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-11-01 05:48:44 -0400 (Mon, 01 Nov 2010) New Revision: 4884 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_23_002_DeletePageOfUserByCreatorWithDeletin= gConfirmation.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_23_002_DeletePageOfUserByCreatorWithDel= etingConfirmation.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_23_002_DeletePageOfUserByCreatorWithDeleti= ngConfirmation.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_23_002_DeletePageOfUserByCreatorWithDeleti= ngConfirmation.html 2010-11-01 09:48:44 UTC (rev 4884) @@ -0,0 +1,182 @@ + + + + + + +Test_POR_23_002 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_23_002
open/portal/public/classic/
echo--Go to Page Management--
clickAtlink=3DSign in
waitForElementPresentusernameroot
typeusernameroot
typepasswordgtn
clickAndWaitxpath=3D//div[@id=3D'UIPortalLoginFormAction']/div/div/div
echo--Select Page Mangement on menu item--
waitForElementPresentlink=3DPage Management
clickAtlink=3DPage Management
echo--Add new page for user--
waitForElementPresentxpath=3D//div[@id=3D'UIPageBrowser']/div[2]/table/tbody/tr/td/div/div= /div/div/a
clickAtxpath=3D//div[@id=3D'UIPageBrowser']/div[2]/table/tbody/tr/td/div/div= /div/div/a
waitForElementPresentname
typenamePOR_23_002
typetitlePOR_23_002
waitForElementPresentxpath=3D//div[@onclick=3D"eXo.webui.UIHorizontalTabs.changeTabFo= rUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.= webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=3DUIPageTe= mplateOptions')"]
clickAtxpath=3D//div[@onclick=3D"eXo.webui.UIHorizontalTabs.changeTabFo= rUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.= webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=3DUIPageTe= mplateOptions')"]
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo--Search new page created--
typesearchTermPOR_23_002
selectsearchOptionlabel=3DTitle
waitForElementPresentxpath=3D//form[@id=3D'UIPageSearch']/div[2]/a
clickAtxpath=3D//form[@id=3D'UIPageSearch']/div[2]/a
echo--Delete page of user--
waitForElementPresentxpath=3D//img[@title=3D'Delete Page']
clickAtxpath=3D//img[@title=3D'Delete Page']
assertConfirmationDo you want to delete this page?
waitForElementPresentxpath=3D//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindo= w UIDragObject']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UI= PopupMessages']/div[@class=3D'MessageActionBar']//a
clickAtxpath=3D//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindo= w UIDragObject']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UI= PopupMessages']/div[@class=3D'MessageActionBar']//a
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + --===============4133031837460226972==--