From do-not-reply at jboss.org Fri May 14 00:07:54 2010 Content-Type: multipart/mixed; boundary="===============4106561734257700356==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3087 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium. Date: Fri, 14 May 2010 00:07:54 -0400 Message-ID: <201005140407.o4E47sSU006085@svn01.web.mwc.hst.phx2.redhat.com> --===============4106561734257700356== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-05-14 00:07:53 -0400 (Fri, 14 May 2010) New Revision: 3087 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_14_01_007_CreateNewNodeInTheFirstLevelWhenDoRightClic= k.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_14_01_008_CreateNewNodeAsChildOfExistingNodeWhenDoRig= htClick.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_14_06_001_ChangeOrderOfNode.html Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_POR_14_01_006_CreateNewNodeInTheFirstLevel.html Log: TESTVN-399: Create new GateIn Selenium Scrips Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatf= orm/portal/selenium/Test_POR_14_01_006_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_14_01_006_CreateNewNodeInTheFirstLevel.html 2010-05-= 14 04:02:24 UTC (rev 3086) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_14_01_006_CreateNewNodeInTheFirstLevel.html 2010-05-= 14 04:07:53 UTC (rev 3087) @@ -236,11 +236,6 @@ link=3DSign out - - - - - = Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_14_01_007_CreateNewNodeInTheFirstLevelWhenDoRight= Click.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_01_007_CreateNewNodeInTheFirstLevelWhenDoRightCli= ck.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_14_01_007_CreateNewNodeInTheFirstLevelWhenDoRightCli= ck.html 2010-05-14 04:07:53 UTC (rev 3087) @@ -0,0 +1,247 @@ + + + + + + +Test_POR_14_01_007_CreateNewNodeInTheFirstLevelWhenDoRightClick</ti= tle> +</head> +<body> +<table cellpadding=3D"1" cellspacing=3D"1" border=3D"1"> +<thead> +<tr><td rowspan=3D"1" colspan=3D"3">Test_POR_14_01_007_CreateNewNodeInTheF= irstLevelWhenDoRightClick</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/portal/public/classic</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSign in</td> + <td></td> +</tr> +<tr> + <td>verifyElementPresent</td> + <td>username</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>username</td> + <td>root</td> +</tr> +<tr> + <td>type</td> + <td>password</td> + <td>gtn</td> +</tr> +<tr> + <td>clickAt</td> + <td>//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--Create new node in the first level when do right click--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSite</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSite</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DEdit Navigation</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DEdit Navigation</td> + <td></td> +</tr> +<tr> + <td>componentExoContextMenu</td> + <td>//div[@id=3D'UINavigationNodeSelector']//div[@class=3D'UIContextMenuC= ontainer']</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id=3D'UINavigationManagement']/div[2]/div[3]/div/div/div/div/d= iv/div/div/div[2]/div/div/div//a</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>//div[@id=3D'UINavigationManagement']/div[2]/div[3]/div/div/div/div/d= iv/div/div/div[2]/div/div/div//a</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--Page Node Setting--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>name</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>name</td> + <td>Test_POR_14_01_007</td> +</tr> +<tr> + <td>type</td> + <td>label</td> + <td>Test_POR_14_01_007</td> +</tr> +<tr> + <td>echo</td> + <td>--Go to Page Selector--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@class=3D'UIFormTabPane']//div[@class=3D'TabsContainer']/div[2]= /div/div/div/div</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>//div[@class=3D'UIFormTabPane']//div[@class=3D'TabsContainer']/div[2]= /div/div/div/div</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSearch and Select Page</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSearch and Select Page</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>xpath=3D//img[@title=3D'Select Page']</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>xpath=3D//img[@title=3D'Select Page']</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSave</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSave</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSave</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--View page(node)--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DTest_POR_14_01_007</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DTest_POR_14_01_007</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--Delete node--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSite</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSite</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DEdit Navigation</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DEdit Navigation</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>xpath=3D//a[@title=3D'Test_POR_14_01_007']</td> + <td></td> +</tr> +<tr> + <td>componentExoContextMenu</td> + <td>xpath=3D//a[@title=3D'Test_POR_14_01_007']</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>xpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>xpath=3D//div[@id=3D'UINavigationNodeSelector']//div[@id=3D'Navigatio= nNodePopupMenu']//a[@class=3D'ItemIcon DeleteNode16x16Icon']</td> + <td></td> +</tr> +<tr> + <td>waitForConfirmation</td> + <td>Are you sure you want to delete this node?</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSave</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSave</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--Sign out--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSign out</td> + <td></td> +</tr> +<tr> + <td>clickAt</td> + <td>link=3DSign out</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/Test_POR_14_01_008_CreateNewNodeAsChildOfExistingNodeWhenD= oRightClick.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_01_008_CreateNewNodeAsChildOfExistingNodeWhenDoRi= ghtClick.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_14_01_008_CreateNewNodeAsChildOfExistingNodeWhenDoRi= ghtClick.html 2010-05-14 04:07:53 UTC (rev 3087) @@ -0,0 +1,257 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.or= g/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"en" lang=3D"en"> +<head profile=3D"http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8" /> +<link rel=3D"selenium.base" href=3D"" /> +<title>Test_POR_14_01_008_CreateNewNodeAsChildOfExistingNodeWhenDoRightCli= ck + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_14_01_008_CreateNewNodeAsChil= dOfExistingNodeWhenDoRightClick
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 when do right click--
waitForElementPresentlink=3DSite
clickAtlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresent//a[@title=3D'Home']
clickAt//a[@title=3D'Home']
componentExoContextMenu//a[@title=3D'Home']
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_14_01_008
typelabelTest_POR_14_01_008
echo--Go to Page Selector--
waitForElementPresent//div[@class=3D'UIFormTabPane']//div[@class=3D'TabsContainer']/div[2]= /div/div/div/div
clickAt//div[@class=3D'UIFormTabPane']//div[@class=3D'TabsContainer']/div[2]= /div/div/div/div
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_14_01_008
clickAtlink=3DTest_POR_14_01_008
echo--Delete node--
waitForElementPresentlink=3DSite
clickAtlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
clickAtxpath=3D//a[@title=3D'Test_POR_14_01_008']
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_14_01_008']
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_14_06_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_14_06_001_ChangeOrderOfNode.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_POR_14_06_001_ChangeOrderOfNode.html 2010-05-14 04:07:53= UTC (rev 3087) @@ -0,0 +1,297 @@ + + + + + + +Test_POR_14_06_001_ChangeOrderOfNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_14_06_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=3DSite
clickAtlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresentlink=3DAdd Node
clickAtlink=3DAdd Node
echo--Page Node Setting--
waitForElementPresentname
typenameTest_POR_14_06_001
typelabelTest_POR_14_06_001
echo--Go to Page Selector--
clickAtxpath=3D//div[@class=3D'CenterHorizontalTabs']//div[@class=3D'NormalT= ab']//div[@class=3D'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_14_06_001
clickAtlink=3DTest_POR_14_06_001
echo--Change order of node--
waitForElementPresentlink=3DSite
clickAtlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
echo--Move node up
verifyElementPresentxpath=3D//a[@title=3D'Test_POR_14_06_001']
storeXpathCount//div[@class=3D'TreeContainer JSContainer']/div/divnodeLvl
waitForElementPresentlink=3DTest_POR_14_06_001
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_14_06_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_14_06_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_14_06_001']
componentExoContextMenuxpath=3D//a[@title=3D'Test_POR_14_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?
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo--Sign out--
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + --===============4106561734257700356==--