From do-not-reply at jboss.org Wed May 12 21:52:06 2010 Content-Type: multipart/mixed; boundary="===============0642658025128161664==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3069 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium. Date: Wed, 12 May 2010 21:52:06 -0400 Message-ID: <201005130152.o4D1q6Lw012535@svn01.web.mwc.hst.phx2.redhat.com> --===============0642658025128161664== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-05-12 21:52:05 -0400 (Wed, 12 May 2010) New Revision: 3069 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_25_02_001_CreateNewNodeInTheFirstLevel.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_25_02_002_CreateNewNodeAsChildOfExistingNode.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_25_05_005_CutPasteNodeInToTheSameThisSource.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_25_07_001_ChangeOrderOfNode.html Log: TESTVN-399: Create new GateIn Selenium Scrips Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_25_02_001_CreateNewNodeInTheFirstLevel.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_POR_25_02_001_CreateNewNodeInTheFirstLevel.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_25_02_001_CreateNewNodeInTheFirstLevel.html 2010-05-= 13 01:52:05 UTC (rev 3069) @@ -0,0 +1,227 @@ + + + + + + +Test_POR_25_02_001_CreateNewNodeInTheFirstLevel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_25_02_001_CreateNewNodeInTheF= irstLevel
open/portal/public/classic
clickAtlink=3DSign in
verifyElementPresentusername
typeusernameroot
typepasswordgtn
clickAt//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Create node in the first level--
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresentlink=3DAdd Node
clickAtlink=3DAdd Node
echo--Page Node Setting--
waitForElementPresentname
typenameTest_POR_25_02_001
typelabelTest_POR_25_02_001
echo--Go to Page Selector--
clickAtcss=3Ddiv#UIGroupNavigationManagement div.UIPopupWindow div.TabsConta= iner div.NormalTab div.MiddleTab
waitForElementPresentlink=3DSearch and Select Page
clickAtlink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickAtxpath=3D//img[@title=3D'Select Page']
waitForElementPresentlink=3DSave
clickAtlink=3DSave
clickAtlink=3DSave
waitForElementPresentlink=3DTest_POR_25_02_001
clickAtlink=3DTest_POR_25_02_001
echo--Delete node--
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_25_02_001']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
clickAtxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
waitForConfirmationAre you sure you want to delete this node?
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo--Sign out--
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_25_02_002_CreateNewNodeAsChildOfExistingNode.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_POR_25_02_002_CreateNewNodeAsChildOfExistingNode.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_25_02_002_CreateNewNodeAsChildOfExistingNode.html 20= 10-05-13 01:52:05 UTC (rev 3069) @@ -0,0 +1,257 @@ + + + + + + +Test_POR_25_02_002_CreateNewNodeAsChildOfExistingNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_25_02_002_CreateNewNodeAsChil= dOfExistingNode
open/portal/public/classic
clickAtlink=3DSign in
verifyElementPresentusername
typeusernameroot
typepasswordgtn
clickAt//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Create new node as child of existing node--
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresent//a[@title=3D'New Staff']
clickAt//a[@title=3D'New Staff']
componentExoContextMenu//a[@title=3D'New Staff']
waitForElementPresent//div[@id=3D'UINavigationManagement']/div[2]/div[3]/div/div/div/div/d= iv/div/div/div[2]/div/div/div//a
clickAt//div[@id=3D'UINavigationManagement']/div[2]/div[3]/div/div/div/div/d= iv/div/div/div[2]/div/div/div//a
echo--Page Node Setting--
waitForElementPresentname
typenameTest_POR_25_02_002
typelabelTest_POR_25_02_002
echo--Go to Page Selector--
clickAtcss=3Ddiv#UIGroupNavigationManagement div.UIPopupWindow div.TabsConta= iner div.NormalTab div.MiddleTab
waitForElementPresentlink=3DSearch and Select Page
clickAtlink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickAtxpath=3D//img[@title=3D'Select Page']
waitForElementPresentlink=3DSave
clickAtlink=3DSave
clickAtlink=3DSave
echo--View page(node)--
waitForElementPresentlink=3DTest_POR_25_02_002
clickAtlink=3DTest_POR_25_02_002
echo--Delete node--
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresent//a[@title=3D'New Staff']
clickAt//a[@title=3D'New Staff']
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_25_02_002']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
clickAtxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
waitForConfirmationAre you sure you want to delete this node?
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo--Sign out--
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_25_05_005_CutPasteNodeInToTheSameThisSource.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_POR_25_05_005_CutPasteNodeInToTheSameThisSource.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_25_05_005_CutPasteNodeInToTheSameThisSource.html 201= 0-05-13 01:52:05 UTC (rev 3069) @@ -0,0 +1,167 @@ + + + + + + +Test_POR_25_05_005_CutPasteNodeInToTheSameThisSource + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_25_05_005_CutPasteNodeInToThe= SameThisSource
open/portal/public/classic/
echo--Login portal--
waitForElementPresentlink=3DSign in
clickAtlink=3DSign in
typeusernameroot
typepasswordgtn
clickAt//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Open Navigation Management pop-up --
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
echo--Cut node--
waitForElementPresent//a[@title=3D'New Staff']
componentExoContextMenuxpath=3D//div[@id=3D'UINavigationNodeSelector']//a[@class=3D'NodeIcon= DefaultPageIcon' and @title=3D'New Staff']
waitForElementPresentlink=3DCut Node
clickAtlink=3DCut Node
echo-- Paste node to same resource--
componentExoContextMenu//div[@class=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div= /div[2]/div[2]/div/div/a
waitForElementPresentxpath=3D//div[@id=3D"UINavigationNodeSelector"]/div/div/div= /div/div/div[2]/div/div/div[7]/a
clickAtxpath=3D//div[@id=3D"UINavigationNodeSelector"]/div/div/div= /div/div/div[2]/div/div/div[7]/a
echo--Verify text Message--
verifyTextPresentThe source and the destination must be different.
waitForElementPresent//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindow UIDrag= Object']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UIPopupMes= sages']/div[@class=3D'MessageActionBar']//a
clickAt//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindow UIDrag= Object']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UIPopupMes= sages']/div[@class=3D'MessageActionBar']//a
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo-- Sign out--
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation.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_POR_25_06_001_DeleteNodeWithDeletingConfirmation.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation.html 20= 10-05-13 01:52:05 UTC (rev 3069) @@ -0,0 +1,217 @@ + + + + + + +Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_25_06_001_DeleteNodeWithDelet= ingConfirmation
open/portal/public/classic
echo--Login in portal--
clickAtlink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAtxpath=3D//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Add new group node--
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresentlink=3DAdd Node
clickAtlink=3DAdd Node
echo--Page Node Setting--
waitForElementPresentname
typenameTest_POR_25_06_001
typelabelTest_POR_25_06_001
echo--Go to Page Selector--
clickAtcss=3Ddiv#UIGroupNavigationManagement div.UIPopupWindow div.TabsConta= iner div.NormalTab div.MiddleTab
waitForElementPresentlink=3DSearch and Select Page
clickAtlink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickAtxpath=3D//img[@title=3D'Select Page']
waitForElementPresentlink=3DSave
clickAtlink=3DSave
clickAtlink=3DSave
echo--Delete node with confimation--
waitForElementPresentxpath=3D//div[@ID=3D'UIGroupNavigationGrid']//table[1]//a[@class=3D'E= ditNavIcon']
clickAtxpath=3D//div[@ID=3D'UIGroupNavigationGrid']//table[1]//a[@class=3D'E= ditNavIcon']
waitForElementPresentxpath=3D//a[@title=3D'Test_POR_25_06_001']
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_25_06_001']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
clickAtxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
waitForConfirmationAre you sure you want to delete this node?
waitForElementNotPresentxpath=3D//a[@title=3D'test_grp_label_25']
waitForElementPresentlink=3DSave
clickAtlink=3DSave
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_25_07_001_ChangeOrderOfNode.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_POR_25_07_001_ChangeOrderOfNode.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_25_07_001_ChangeOrderOfNode.html 2010-05-13 01:52:05= UTC (rev 3069) @@ -0,0 +1,307 @@ + + + + + + +Test_POR_25_07_001_ChangeOrderOfNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_25_07_001_ChangeOrderOfNode
open/portal/public/classic
echo-MoveUp/DownNode-
clickAtlink=3DSign in
verifyElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Create node
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresentlink=3DAdd Node
clickAtlink=3DAdd Node
echo--Page Node Setting--
waitForElementPresentname
typenameTest_POR_25_07_001
typelabelTest_POR_25_07_001
echo--Go to Page Selector--
clickAtcss=3Ddiv#UIGroupNavigationManagement div.UIPopupWindow div.TabsConta= iner div.NormalTab div.MiddleTab
waitForElementPresentlink=3DSearch and Select Page
clickAtlink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickAtxpath=3D//img[@title=3D'Select Page']
waitForElementPresentlink=3DSave
clickAtlink=3DSave
clickAtlink=3DSave
waitForElementPresentlink=3DTest_POR_25_07_001
clickAtlink=3DTest_POR_25_07_001
echo--Change order of node--
waitForElementPresentlink=3DGroup
clickAtlink=3DGroup
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
echo--Move node up
waitForElementPresentxpath=3D//div[@ID=3D'UIGroupNavigationGrid']//table[1]//a[@class=3D'E= ditNavIcon']
clickAtxpath=3D//div[@ID=3D'UIGroupNavigationGrid']//table[1]//a[@class=3D'E= ditNavIcon']
verifyElementPresentxpath=3D//a[@title=3D'Test_POR_25_07_001']
storeXpathCount//div[@class=3D'TreeContainer JSContainer']/div/divnodeLvl
waitForElementPresentlink=3DTest_POR_25_07_001
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_25_07_001']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveUp16x16Icon']
clickAtxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveUp16x16Icon']
verifyElementNotPresentxpath=3D//div[@class=3D'TreeContainer JSContainer']/div/div[${nodeLvl= }]/div/a[@title=3D'test_grp_label_26']
echo--Move node down
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_25_07_001']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveDown16x16Icon']
clickAtxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon MoveDown16x16Icon']
verifyElementPresentxpath=3D//a[@title=3D'Test_POR_25_07_001']
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_25_07_001']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
clickAtxpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']
waitForConfirmationAre you sure you want to delete this node?
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo--Sign out--
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + --===============0642658025128161664==--