From do-not-reply at jboss.org Fri May 14 06:17:47 2010 Content-Type: multipart/mixed; boundary="===============7202061832835912306==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3092 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium. Date: Fri, 14 May 2010 06:17:46 -0400 Message-ID: <201005141017.o4EAHkGF021611@svn01.web.mwc.hst.phx2.redhat.com> --===============7202061832835912306== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-05-14 06:17:46 -0400 (Fri, 14 May 2010) New Revision: 3092 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_14_03_003_CopyPasteNodeIntoTheSamePlace.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_14_03_004_CopyPasteNodeIntoTheSameSource.html Log: TESTVN-399: Create new GateIn Selenium Scrips Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation.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_14_03_001_CopyPasteNodeIntoTheSameNavigation.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation.html 20= 10-05-14 10:17:46 UTC (rev 3092) @@ -0,0 +1,182 @@ + + + + + + +Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_14_03_001_CopyPasteNodeIntoTh= eSameNavigation
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 Menu--
waitForElementPresentlink=3DSite
clickAtlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
echo--Copy a node--
waitForElementPresent//a[@title=3D'Home']
componentExoContextMenuxpath=3D//div[@id=3D'UINavigationNodeSelector']//a[@class=3D'NodeIcon= DefaultPageIcon NodeSelected' and @title=3D'Home']
waitForElementPresentlink=3DCopy Node
clickAtlink=3DCopy Node
echo--Paste node into another node in the same navigation--
waitForElementPresent//a[@title=3D'SiteMap']
clickAt//a[@title=3D'SiteMap']
waitForElementPresentxpath=3D//div[@id=3D'UINavigationNodeSelector']//a[@class=3D'NodeIcon= DefaultPageIcon NodeSelected' and @title=3D'SiteMap']
componentExoContextMenuxpath=3D//div[@id=3D'UINavigationNodeSelector']//a[@class=3D'NodeIcon= DefaultPageIcon NodeSelected' and @title=3D'SiteMap']
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div/div/div[2]/di= v/div/div[7]//a
clickAt//div[@id=3D'UINavigationNodeSelector']/div/div/div/div/div/div[2]/di= v/div/div[7]//a
echo--Delete node--
componentExoContextMenuxpath=3D//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/di= v/div/div[3]/div/div//a
clickAtlink=3DDelete Node
assertConfirmationAre 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_14_03_003_CopyPasteNodeIntoTheSamePlace.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_14_03_003_CopyPasteNodeIntoTheSamePlace.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_14_03_003_CopyPasteNodeIntoTheSamePlace.html 2010-05= -14 10:17:46 UTC (rev 3092) @@ -0,0 +1,167 @@ + + + + + + +Test_POR_14_03_003_CopyPasteNodeIntoTheSamePlace + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_14_03_003_CopyPasteNodeIntoTh= eSamePlace
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=3DSite
clickAtlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
echo--Copy node--
waitForElementPresent//a[@title=3D'Home']
componentExoContextMenuxpath=3D//div[@id=3D'UINavigationNodeSelector']//a[@class=3D'NodeIcon= DefaultPageIcon NodeSelected' and @title=3D'Home']
waitForElementPresentlink=3DCopy Node
clickAtlink=3DCopy Node
echo-- Paste node to same place--
componentExoContextMenu//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[1]
waitForElementPresent//div[@class=3D'UIContextMenuContainer']/div[2]/div/div/div[7]/a
clickAt//div[@class=3D'UIContextMenuContainer']/div[2]/div/div/div[7]/a
echo--Verify text Message--
verifyTextPresentThis node name already exists.
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_14_03_004_CopyPasteNodeIntoTheSameSource.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_14_03_004_CopyPasteNodeIntoTheSameSource.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_14_03_004_CopyPasteNodeIntoTheSameSource.html 2010-0= 5-14 10:17:46 UTC (rev 3092) @@ -0,0 +1,167 @@ + + + + + + +Test_POR_14_03_004_CopyPasteNodeIntoTheSameSource + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_14_03_004_CopyPasteNodeIntoTh= eSameSource
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=3DSite
clickAtlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
echo--Copy node--
waitForElementPresent//a[@title=3D'Home']
componentExoContextMenuxpath=3D//div[@id=3D'UINavigationNodeSelector']//a[@class=3D'NodeIcon= DefaultPageIcon NodeSelected' and @title=3D'Home']
waitForElementPresentlink=3DCopy Node
clickAtlink=3DCopy Node
echo-- Paste node to same place--
componentExoContextMenu//a[@title=3D'Home']
waitForElementPresent//div[@class=3D'UIContextMenuContainer']/div[2]/div/div/div[7]/a
clickAt//div[@class=3D'UIContextMenuContainer']/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
+ + --===============7202061832835912306==--