From do-not-reply at jboss.org Mon Aug 9 06:58:21 2010 Content-Type: multipart/mixed; boundary="===============0384481415702632990==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3776 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest. Date: Mon, 09 Aug 2010 06:58:19 -0400 Message-ID: <201008091058.o79AwJj1016477@svn01.web.mwc.hst.phx2.redhat.com> --===============0384481415702632990== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-08-09 06:58:19 -0400 (Mon, 09 Aug 2010) New Revision: 3776 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/NewSnifftest/Test_SNF_PRL_34_ChangeContainerWhenEditProperties= OfNodeInPortalNavigation.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditProperti= esOfNodeInPortalNavigation.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/NewSnifftest/Test_SNF_PRL_45_ManageNodeGroup.html.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/NewSnifftest/Test_SNF_PRL_46_MoreActionOnNodeInEditNavigationO= fGroup.html.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/NewSnifftest/Test_SNF_PRL_47_EditNodePagePropertiesForGroup.ht= ml.html Log: TESTVN-1006: Create new GateIn Selenium scripts Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/NewSnifftest/Test_SNF_PRL_34_ChangeContainerWhenEditProper= tiesOfNodeInPortalNavigation.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/NewSnifftest/Test_SNF_PRL_34_ChangeContainerWhenEditPropertie= sOfNodeInPortalNavigation.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/NewSnifftest/Test_SNF_PRL_34_ChangeContainerWhenEditPropertie= sOfNodeInPortalNavigation.html 2010-08-09 10:58:19 UTC (rev 3776) @@ -0,0 +1,577 @@ + + + + + + +Test_SNF_PRL_34_ChangeContainerWhenEditPropertiesOfNodeInPortalNavi= gation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_SNF_PRL_34_ChangeContainerWhenEdi= tPropertiesOfNodeInPortalNavigation
open/portal/public/classic
echo-- Edit Node page's properties in portal navigation--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Add new node for portal --
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresentlink=3DAdd Node
clicklink=3DAdd Node
waitForElementPresentname
typenameTest_SNF_PRL_34
typelabelTest_SNF_PRL_34
waitForElementPresent//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
echo-- Page Selector--
click//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
waitForElementPresentlink=3DSearch and Select Page
clicklink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickxpath=3D//img[@title=3D'Select Page']
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Save to finish create new node--
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- View new node--
waitForElementPresent//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div/a
clickAndWait//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div/a
waitForTextPresentTest_SNF_PRL_34
verifyTextPresentTest_SNF_PRL_34
echo-- Change container when edit page properties of node --
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresent//div[8]/div/a
click//div[8]/div/a
waitForElementPresentxpath=3D//a[@title=3D'Test_SNF_PRL_34']
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_34']
waitForElementPresentlink=3DEdit Node's Page
clicklink=3DEdit Node's Page
pause1000
echo-- View layout of node before Change container--
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
waitForElementNotPresentcss=3D div[@id=3D"UIPortalApplication"]
verifyElementNotPresentcss=3D div[@id=3D"UIPortalApplication"]
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
echo-- Change container--
waitForElementPresent//div[@id=3D'UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div<= /td> +
click//div[@id=3D'UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div<= /td> +
waitForElementPresent//div[@id=3D'oneRow']/div//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/di= v[1]/div/div/div/div[1]/div
dragAndDropToObject//div[@id=3D'oneRow']/div//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/di= v[1]/div/div/div/div[1]/div
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
waitForElementPresentUIPortalApplication
verifyElementPresentUIPortalApplication
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
echo--Edit container --
mouseOver//div/div/div[2]/div/div/div/div/div/div/a[1]
click//div/div/div[2]/div/div/div/div/div/div/a[1]
waitForElementPresenttitle
typetitleTest_SNF_PRL_34
waitForElementPresentwidth
typewidth300px
waitForElementPresentheight100px
typeheight100px
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Move position of container --
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Test_SNF_PRL_34
dragAndDropToObject//div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div//div[@class=3D'LAYOUT-BLOCK LAYOUT-PORTLET']
echo-- View after change position of container --
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
echo-- Delete container --
mouseOver//div[2]/div/div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/di= v[2]Test_SNF_PRL_34
waitForElementPresent//div[2]/div/div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[= 2]
click//div[2]/div/div/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[= 2]
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this Container?
waitForElementPresent//div[@id=3D'UIPageEditor']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPageEditor']/div[1]/div/div/div/a[2]
echo-- Close Navigation Management form --
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- View node after change container --
clickAndWait//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div/a
echo-- Delete this node--
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
pause1000
waitForElementPresentxpath=3D//a[@title=3D'Test_SNF_PRL_34']
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_34']
waitForElementPresentlink=3DDelete Node
clicklink=3DDelete Node
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this node?
waitForElementNotPresentxpath=3D//a[@title=3D'Test_SNF_PRL_34']
waitForElementPresentlink=3DSave
clicklink=3DSave
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditProp= ertiesOfNodeInPortalNavigation.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/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditPropert= iesOfNodeInPortalNavigation.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditPropert= iesOfNodeInPortalNavigation.html 2010-08-09 10:58:19 UTC (rev 3776) @@ -0,0 +1,667 @@ + + + + + + +Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNa= vigation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_SNF_PRL_35_ChangeApplicationWhenE= ditPropertiesOfNodeInPortalNavigation
open/portal/public/classic
echo-- Edit Node page's properties in portal navigation--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Add new node for portal --
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresentlink=3DAdd Node
clicklink=3DAdd Node
waitForElementPresentname
typenameTest_SNF_PRL_35
typelabelTest_SNF_PRL_35
waitForElementPresent//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
echo-- Page Selector--
click//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
waitForElementPresentlink=3DSearch and Select Page
clicklink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickxpath=3D//img[@title=3D'Select Page']
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Save to finish create new node--
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- View new node--
waitForElementPresent//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div/a
clickAndWait//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div/a
waitForTextPresentTest_SNF_PRL_35
verifyTextPresentTest_SNF_PRL_35
echo-- Change application when edit page properties of node --
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresent//div[8]/div/a
click//div[8]/div/a
waitForElementPresentxpath=3D//a[@title=3D'Test_SNF_PRL_35']
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_35']
waitForElementPresentlink=3DEdit Node's Page
clicklink=3DEdit Node's Page
pause1000
echo-- View layout of node before Change application--
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
waitForElementNotPresentcss=3D div[@id=3D"UIPortalApplication"]
verifyElementNotPresentcss=3D div[@id=3D"UIPortalApplication"]
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
echo-- Drag & drop applcation in portal--
waitForElementPresent//div[@id=3D'Gadgets/Calculator']/div/div/div[1]/div[1]UIPortalApplication
dragAndDropToObject//div[@id=3D'Gadgets/Calculator']/div/div/div[1]/div[1]UIPortalApplication
echo-- View application after drag & drop in portal--
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
waitForElementPresentUIPortalApplication
verifyElementPresentUIPortalApplication
echo-- Return to normal view --
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
echo--Edit application --
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Calculator
waitForElementPresent//div/div/div[2]/div/div/div/div/div/div/a[1]
click//div/div/div[2]/div/div/div/div/div/div/a[1]
waitForElementPresenttitle
typetitleTest_SNF_PRL_35
echo-- Choose Select Icon tab --
waitForElementPresent//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[2]/div/div/div/div
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[2]/div/div/div/div
waitForElementPresent//form[@id=3D'UIPortletForm']/div[3]/div/div/div[2]/div[2]/div/a[1]/d= iv
click//form[@id=3D'UIPortletForm']/div[3]/div/div/div[2]/div[2]/div/a[1]/d= iv
echo-- Choose Decoration Themes--
waitForElementPresent//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[3]/div/div/div/div
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[3]/div/div/div/div
waitForElementPresent//div[@id=3D'UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/d= iv
click//div[@id=3D'UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/d= iv
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
echo-- View after change something in application --
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
waitForTextPresentTest_SNF_PRL_35
verifyTextPresentTest_SNF_PRL_35
echo-- Return to normail view --
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
echo-- Move position of application --
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Test_SNF_PRL_35
waitForElementPresent//div[1]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[1]
dragAndDropToObjectcss=3Ddiv[class=3D'DragControlArea']//html/body/div/div[2]/div/div[2]/div/div/div/div/div/div[2]/div/div/= div/div/div/div/div/div[2]/div
echo-- View after change position of application --
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
waitForElementPresentUIPortalApplication
clickUIPortalApplication
waitForElementPresentlink=3DSwitch View mode
clicklink=3DSwitch View mode
echo-- Delete application --
mouseOver//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]Test_SNF_PRL_35
waitForElementPresent//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]
click//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this portlet?
waitForElementPresent//div[@id=3D'UIPageEditor']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPageEditor']/div[1]/div/div/div/a[2]
echo-- Close Navigation Management form --
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- View node after change application --
clickAndWait//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div/a
echo-- Delete this node--
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
pause1000
waitForElementPresentxpath=3D//a[@title=3D'Test_SNF_PRL_35']
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_35']
waitForElementPresentlink=3DDelete Node
clicklink=3DDelete Node
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this node?
waitForElementNotPresentxpath=3D//a[@title=3D'Test_SNF_PRL_35']
waitForElementPresentlink=3DSave
clicklink=3DSave
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/NewSnifftest/Test_SNF_PRL_45_ManageNodeGroup.html.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/NewSnifftest/Test_SNF_PRL_45_ManageNodeGroup.html.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/NewSnifftest/Test_SNF_PRL_45_ManageNodeGroup.html.html 2010-0= 8-09 10:58:19 UTC (rev 3776) @@ -0,0 +1,442 @@ + + + + + + +Test_SNF_PRL_45_ManageNodeGroup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_SNF_PRL_45_ManageNodeGroup
open/portal/public/classic
echo-- Manage node for group --
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DGroup
echo-- Edit Navigation --
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
echo-- Add new node--
waitForElementPresentlink=3DAdd Node
clicklink=3DAdd Node
waitForElementPresentname
typenameTest_SNF_PRL_45
typelabelTest_SNF_PRL_45
echo-- Choose Page Selector tab --
waitForElementPresent//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
click//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
echo-- Select a page for ndoe--
waitForElementPresentlink=3DSearch and Select Page
clicklink=3DSearch and Select Page
waitForElementPresent//tr[2]/td[5]/div/img
click//tr[2]/td[5]/div/img
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Click Save to close Navigation Management form--
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- View new node--
waitForElementPresentlink=3DTest_SNF_PRL_45
clicklink=3DTest_SNF_PRL_45
waitForTextPresentTest_SNF_PRL_45
verifyTextPresentTest_SNF_PRL_45
echo-- Edit this node--
clickAndWaitlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
pause2000
waitForElementPresent//div[2]/div/div/div[3]/div/a
click//div[2]/div/div/div[3]/div/a
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_45']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_45']
waitForElementPresentlink=3DEdit this Node
clicklink=3DEdit this Node
pause2000
waitForElementPresentlabel
typelabelTest_SNF_PRL_45_edit
echo-- Choose Page Selector tab --
waitForElementPresent//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
click//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
echo-- Choose new page for this node--
waitForElementPresentlink=3DSearch and Select Page
clicklink=3DSearch and Select Page
waitForElementPresent//div[@id=3D'UIRepeater']/table/tbody/tr[4]/td[5]/div/img
click//div[@id=3D'UIRepeater']/table/tbody/tr[4]/td[5]/div/img
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Close navigation Management form --
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- View page after edited --
waitForElementPresentlink=3DTest_SNF_PRL_45_edit
clicklink=3DTest_SNF_PRL_45_edit
waitForTextPresentTest_SNF_PRL_45_edit
verifyTextPresentTest_SNF_PRL_45_edit
echo-- Delete node--
waitForElementPresentlink=3DGroup
clickAndWaitlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
pause2000
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_45_edit']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_45_edit']
waitForElementPresentlink=3DDelete Node
clicklink=3DDelete Node
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this node?
waitForElementPresentlink=3DSave
clicklink=3DSave
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/NewSnifftest/Test_SNF_PRL_46_MoreActionOnNodeInEditNavigat= ionOfGroup.html.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/NewSnifftest/Test_SNF_PRL_46_MoreActionOnNodeInEditNavigation= OfGroup.html.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/NewSnifftest/Test_SNF_PRL_46_MoreActionOnNodeInEditNavigation= OfGroup.html.html 2010-08-09 10:58:19 UTC (rev 3776) @@ -0,0 +1,587 @@ + + + + + + +Test_SNF_PRL_46_MoreActionOnNodeInEditNavigationOfGroup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_SNF_PRL_46_MoreActionOnNodeInEdit= NavigationOfGroup
open/portal/public/classic/
echo-- More action on node in edit navigation of group --
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div
clickAndWaitlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
echo-- Add new node--
waitForElementPresentlink=3DAdd Node
clicklink=3DAdd Node
waitForElementPresentname
typenameTest_SNF_PRL_46
typelabelTest_SNF_PRL_46
echo-- Choose Page Selector--
waitForElementPresent//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
click//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
waitForElementPresentlink=3DSearch and Select Page
clicklink=3DSearch and Select Page
waitForElementPresent//tr[2]/td[5]/div/img
click//tr[2]/td[5]/div/img
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Copy node--
waitForElementPresentlink=3DTest_SNF_PRL_46
clicklink=3DTest_SNF_PRL_46
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
waitForElementPresentlink=3DCopy Node
clicklink=3DCopy Node
echo-- paste node to new place--
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div/a
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Or= ganization']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Or= ganization']
waitForElementPresent//div[@id=3D'NavigationNodePopupMenu']/div/div[2]/div/div/div[7]/a +
click//div[@id=3D'NavigationNodePopupMenu']/div/div[2]/div/div/div[7]/a +
echo-- Cut node--
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
waitForElementPresent//div[5]/a
click//div[5]/a
echo-- paste node to new place--
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div/a
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div[2]/div[1]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div[2]/div[1]/div/a
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Ne= w Staff']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Ne= w Staff']
waitForElementPresent//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div= /div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div= [4]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/di= v/div/div[2]/div/div/div[7]/a
click//html/body/div/div[2]/div/div/div/div/div/div/div/div/div[2]/div/div= /div/div/div/div/div/div[4]/div/div/div/div/div/div/div/div/div/div/div/div= [4]/div/div[2]/div/div/div/div/div/div/div[2]/div[3]/div/div/div/div/div/di= v/div/div[2]/div/div/div[7]/a
echo-- Clone node--
waitForElementPresentlink=3DTest_SNF_PRL_46
clicklink=3DTest_SNF_PRL_46
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
waitForElementPresentlink=3DClone Node
clicklink=3DClone Node
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[1]/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[1]/a
waitForElementPresent//div[@class=3D'HomeNode']
mouseDownRight//div[@class=3D'HomeNode']
waitForElementPresentlink=3DPaste Node
clicklink=3DPaste Node
echo--Move node up
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
waitForElementPresentlink=3DTest_SNF_PRL_46
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_46']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveUp16x16Icon']
clickxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveUp16x16Icon']
echo--Move node down
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_46']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveDown16x16Icon']
clickxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveDown16x16Icon']
echo-- Delete node is cloned --
waitForElementPresentlink=3DTest_SNF_PRL_46
clicklink=3DTest_SNF_PRL_46
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
waitForElementPresentlink=3DDelete Node
clicklink=3DDelete Node
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this node?
echo-- Delete node is copied--
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div[2]/div[1]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div[2]/div[1]/div/a
waitForElementPresent//div[2]/div/div/div[2]/div[2]/div/div/a
click//div[2]/div/div/div[2]/div[2]/div/div/a
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
waitForElementPresentlink=3DDelete Node
clicklink=3DDelete Node
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this node?
echo-- Delete node clone-
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[1]/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[1]/a
waitForElementPresentlink=3DTest_SNF_PRL_46
clicklink=3DTest_SNF_PRL_46
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_SNF_PRL_46']
waitForElementPresentlink=3DDelete Node
clicklink=3DDelete Node
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this node?
waitForElementPresentlink=3DSave
clicklink=3DSave
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/NewSnifftest/Test_SNF_PRL_47_EditNodePagePropertiesForGrou= p.html.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/NewSnifftest/Test_SNF_PRL_47_EditNodePagePropertiesForGroup.h= tml.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/NewSnifftest/Test_SNF_PRL_47_EditNodePagePropertiesForGroup.h= tml.html 2010-08-09 10:58:19 UTC (rev 3776) @@ -0,0 +1,532 @@ + + + + + + +Test_SNF_PRL_47_EditNodePagePropertiesForGroup.html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_SNF_PRL_47_EditNodePageProperties= ForGroup.html
open/portal/public/classic
echo-- Edit Node page's properties in group navigation--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Add new node for group --
clickAndWaitlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresentlink=3DAdd Node
clicklink=3DAdd Node
waitForElementPresentname
typenameTest_SNF_PRL_47
typelabelTest_SNF_PRL_47
echo-- Page Selector--
waitForElementPresent//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
click//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/d= iv[2]/div/div/div/div
waitForElementPresentlink=3DSearch and Select Page
clicklink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickxpath=3D//img[@title=3D'Select Page']
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Save to finish create new node--
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- View new node--
waitForElementPresent//div[4]/div[2]/div/a
clickAndWait//div[4]/div[2]/div/a
waitForTextPresentTest_SNF_PRL_47
verifyTextPresentTest_SNF_PRL_47
echo--Edit node's page by check show max windown--
waitForElementPresentlink=3DGroup
clickAndWaitlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresent//div[2]/div/div/div[3]/div/a
click//div[2]/div/div/div[3]/div/a
waitForElementPresentxpath=3D//a[@title=3D'Test_SNF_PRL_47']
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_47']
pause1000
waitForElementPresentlink=3DEdit Node's Page
clicklink=3DEdit Node's Page
echo-- View page properties--
pause1000
waitForElementPresentlink=3DView Page properties
clicklink=3DView Page properties
waitForElementPresentxpath=3D//input[@class=3D'checkbox']
checkxpath=3D//input[@class=3D'checkbox']
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Click Finish edit node's page--
waitForElementPresentxpath=3D//a[@class=3D'EdittedSaveButton']
clickxpath=3D//a[@class=3D'EdittedSaveButton']
waitForElementPresentlink=3DSave
clicklink=3DSave
clickAndWaitlink=3DTest_SNF_PRL_47
assertLocationhttp://localhost:8080/portal/private/classic/Test_SNF_PRL_47
echo--Edit node's page by un-check show max windown--
clickAndWaitlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
waitForElementPresentxpath=3D//a[@title=3D'Test_SNF_PRL_47']
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_47']
pause1000
waitForElementPresentlink=3DEdit Node's Page
clicklink=3DEdit Node's Page
echo-- View page properties--
waitForElementPresentlink=3DView Page properties
clicklink=3DView Page properties
waitForElementPresentshowMaxWindow
clickshowMaxWindow
waitForElementPresentlink=3DSave
clicklink=3DSave
echo-- Click Finish edit node's page--
waitForElementPresentxpath=3D//a[@class=3D'EdittedSaveButton']
clickxpath=3D//a[@class=3D'EdittedSaveButton']
waitForElementPresentlink=3DSave
clicklink=3DSave
clickAndWaitlink=3DTest_SNF_PRL_47
assertLocationhttp://localhost:8080/portal/private/classic/Test_SNF_PRL_47
echo-- Delete this node--
clickAndWaitlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clicklink=3DEdit Navigation
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
click//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[3]/div/a
pause1000
waitForElementPresentxpath=3D//a[@title=3D'Test_SNF_PRL_47']
mouseDownRightxpath=3D//a[@title=3D'Test_SNF_PRL_47']
waitForElementPresentlink=3DDelete Node
clicklink=3DDelete Node
waitForConfirmationPresent
assertConfirmationAre you sure you want to delete this node?
waitForElementNotPresentxpath=3D//a[@title=3D'Test_SNF_PRL_47']
waitForElementPresentlink=3DSave
clicklink=3DSave
clickAndWaitlink=3DSign out
+ + --===============0384481415702632990==--