From do-not-reply at jboss.org Wed Oct 6 07:01:50 2010 Content-Type: multipart/mixed; boundary="===============0505087725588050523==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r4536 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate. Date: Wed, 06 Oct 2010 07:01:49 -0400 Message-ID: <201010061101.o96B1n9t022183@svn01.web.mwc.hst.phx2.redhat.com> --===============0505087725588050523== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-10-06 07:01:49 -0400 (Wed, 06 Oct 2010) New Revision: 4536 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_007_EditCurrentPortalWithNoOneForEdit= Right.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_021_CheckEditingContainerWithNewValid= TitleWhileEditCurrentPortal.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_032_CheckFinishFunctionAfterChangePor= tletLayout.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_035_CheckWhenChangeTitleOfPortletWith= validValueWhileEditingPortal.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_036_CheckWhenChangeTitleOfPortletWith= InvalidValueWhileEditingPortal.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_037_CheckWhenChangeWidthHeightOfPortl= etWithValidValueWhileEditingPortal.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_038_CheckWhenChangeWidthHeightOfPortl= etWithInValidValueWhileEditingPortal.html portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/candidate/Test_POR_12_02_049_CheckFinishFunctionAfterEditedPor= tlet.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_12_02_007_EditCurrentPortalWithNoOneFor= EditRight.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_12_02_007_EditCurrentPortalWithNoOneForEdi= tRight.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_007_EditCurrentPortalWithNoOneForEdi= tRight.html 2010-10-06 11:01:49 UTC (rev 4536) @@ -0,0 +1,187 @@ + + + + + + +Test_POR_12_02_007_EditCurrentPortalWithNoOneForEditRight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_12_02_007_EditCurrentPortalWi= thNoOneForEditRight
open/portal/public/classic/
echo-- Edit current portal with no one for edit right--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo-- Click Edit layout --
waitForElementPresentlink=3DEdit Layout
clicklink=3DEdit Layout
echoChoose Site's Config on Edit inline composer --
waitForElementPresentlink=3DSite's Config
clicklink=3DSite's Config
echo-- Choose Permission Setting --
waitForElementPresent//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/d= iv/div
click//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/d= iv/div
echo-- Choose Edit Permission--
waitForElementPresentlink=3DEdit Permission Setting
clicklink=3DEdit Permission Setting
waitForElementPresentlink=3DDelete Permission
clicklink=3DDelete Permission
waitForElementPresentlink=3DSave
clicklink=3DSave
waitForTextPresentThe "Edit Permission Setting" list can not be empty.
verifyTextPresentThe "Edit Permission Setting" list can not be empty.
waitForElementPresentlink=3DOK
clicklink=3DOK
waitForElementPresentlink=3DCancel
clicklink=3DCancel
waitForElementPresent//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_12_02_021_CheckEditingContainerWithNewV= alidTitleWhileEditCurrentPortal.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_12_02_021_CheckEditingContainerWithNewVali= dTitleWhileEditCurrentPortal.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_021_CheckEditingContainerWithNewVali= dTitleWhileEditCurrentPortal.html 2010-10-06 11:01:49 UTC (rev 4536) @@ -0,0 +1,197 @@ + + + + + + +Test_POR_12_02_021_CheckEditingContainerWithNewValidTitleWhileEditC= urrentPortal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_12_02_021_CheckEditingContain= erWithNewValidTitleWhileEditCurrentPortal
open/portal/public/classic/
echo-- Check editing container with new valid title while edit current po= rtal--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
waitForElementPresentlink=3DEdit Layout
clicklink=3DEdit Layout
echo-- Choose Containers tab on Edit Inline Composer --
pause20000
waitForElementPresent//div[@id=3D'UIPortalComposerTab']/div[1]/div/div[2]/div/div/div/div<= /td> +
mouseOver//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
waitForElementPresent//div/div/div[2]/div/div/div/div/div/div/div[2]Container
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Container
echo-- Click Edit container --
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_POR_12_02_021
waitForElementPresentlink=3DSave
clicklink=3DSave
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Test_POR_12_02_021
echo-- Delete container --
waitForElementPresent//div/div/div[2]/div/div/div/div/div/div/a[2]
click//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'UIPortalComposer']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_12_02_032_CheckFinishFunctionAfterChang= ePortletLayout.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_12_02_032_CheckFinishFunctionAfterChangePo= rtletLayout.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_032_CheckFinishFunctionAfterChangePo= rtletLayout.html 2010-10-06 11:01:49 UTC (rev 4536) @@ -0,0 +1,152 @@ + + + + + + +Test_POR_12_02_032_CheckFinishFunctionAfterChangePortletLayout</tit= le> +</head> +<body> +<table cellpadding=3D"1" cellspacing=3D"1" border=3D"1"> +<thead> +<tr><td rowspan=3D"1" colspan=3D"3">Test_POR_12_02_032_CheckFinishFunction= AfterChangePortletLayout</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/portal/public/classic/</td> + <td></td> +</tr> +<tr> + <td>windowMaximize</td> + <td></td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=3DSign in</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</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>clickAndWait</td> + <td>//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--Go to edit layout of portal--</td> + <td></td> +</tr> +<tr> + <td>clickAndWait</td> + <td>link=3DSite</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DEdit Layout</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=3DEdit Layout</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>-- Change current portal's portlet layout--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DAdministration</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=3DAdministration</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id=3D'Administration/ApplicationRegistryPortlet']/div/div/img<= /td> + <td>//div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/div[2]/di= v/div[1]/div/div/div/div/div</td> +</tr> +<tr> + <td>dragAndDropToObject</td> + <td>//div[@id=3D'Administration/ApplicationRegistryPortlet']/div/div/img<= /td> + <td>//div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/div[2]/di= v/div[1]/div/div/div/div/div</td> +</tr> +<tr> + <td>click</td> + <td>//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]</td> + <td></td> +</tr> +<tr> + <td>echo</td> + <td>--Return to Default layout--</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DEdit Layout</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=3DEdit Layout</td> + <td></td> +</tr> +<tr> + <td>mouseOver</td> + <td>//div/div/div[2]/div/div[2]/div/div/div[1]</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td> + <td></td> +</tr> +<tr> + <td>assertConfirmation</td> + <td>Are you sure you want to delete this portlet?</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=3DSign out</td> + <td></td> +</tr> +<tr> + <td>clickAndWait</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/candidate/Test_POR_12_02_035_CheckWhenChangeTitleOfPortlet= WithvalidValueWhileEditingPortal.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_12_02_035_CheckWhenChangeTitleOfPortletWit= hvalidValueWhileEditingPortal.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_035_CheckWhenChangeTitleOfPortletWit= hvalidValueWhileEditingPortal.html 2010-10-06 11:01:49 UTC (rev 4536) @@ -0,0 +1,212 @@ +<?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_12_02_035_CheckWhenChangeTitleOfPortletWithvalidValueWhile= EditingPortal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_12_02_035_CheckWhenChangeTitl= eOfPortletWithvalidValueWhileEditingPortal
open/portal/public/classic/
echo-- Check when change title of portlet with valid value while editing = portal--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo-- Edit layout's portal --
waitForElementPresentlink=3DEdit Layout
clicklink=3DEdit Layout
echo-- Edit portlet --
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Banner Portlet
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]
echo-- Choose Portlet Setting --
waitForElementPresent//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
click//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
echo-- Change current value of Title with new value --
waitForElementPresenttitle
typetitleTest_POR_12_02_035
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Test_POR_12_02_035
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]
echo-- Choose Portlet Setting --
waitForElementPresent//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
click//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
echo-- Return to defautl title--
waitForElementPresenttitle
typetitle
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Banner Portlet
waitForElementPresent//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_12_02_036_CheckWhenChangeTitleOfPortlet= WithInvalidValueWhileEditingPortal.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_12_02_036_CheckWhenChangeTitleOfPortletWit= hInvalidValueWhileEditingPortal.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_036_CheckWhenChangeTitleOfPortletWit= hInvalidValueWhileEditingPortal.html 2010-10-06 11:01:49 UTC (rev 4536) @@ -0,0 +1,227 @@ + + + + + + +Test_POR_12_02_036_CheckWhenChangeTitleOfPortletWithInvalidValueWhi= leEditingPortal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_12_02_036_CheckWhenChangeTitl= eOfPortletWithInvalidValueWhileEditingPortal
open/portal/public/classic/
echo-- Check when change title of portlet with invalid value while editin= g portal --
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo-- Edit layout's portal --
waitForElementPresentlink=3DEdit Layout
clicklink=3DEdit Layout
echo-- Edit portlet --
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Banner Portlet
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]
echo-- Choose Portlet Setting --
waitForElementPresent//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
click//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
echo-- Change current value of Title with new value less than 3 chars-- +
waitForElementPresenttitle
typetitlePO
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
waitForTextPresentThe length of the text in field "Portlet Title :" must be b= etween "3" and "60" characters.
verifyTextPresentThe length of the text in field "Portlet Title :" must be b= etween "3" and "60" characters.
waitForElementPresent//div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
click//div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
echo-- Change current value of Title with new value over 60 characters --=
waitForElementPresenttitle
typetitleTest_POR_12_02_036 Test_POR_12_02_036 Test_POR_12_02_036 Test_POR_12_= 02_036 Test_POR_12_02_036 Test_POR_12_02_036 Test_POR_12_02_036 Test_POR_12= _02_036
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
waitForTextPresentThe length of the text in field "Portlet Title :" must be b= etween "3" and "60" characters.
verifyTextPresentThe length of the text in field "Portlet Title :" must be b= etween "3" and "60" characters.
waitForElementPresent//div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
click//div[6]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/= div/div/div/div/a
waitForElementPresentClose
clickClose
waitForElementPresent//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_12_02_037_CheckWhenChangeWidthHeightOfP= ortletWithValidValueWhileEditingPortal.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_12_02_037_CheckWhenChangeWidthHeightOfPort= letWithValidValueWhileEditingPortal.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_037_CheckWhenChangeWidthHeightOfPort= letWithValidValueWhileEditingPortal.html 2010-10-06 11:01:49 UTC (rev 4536) @@ -0,0 +1,247 @@ + + + + + + +Test_POR_12_02_037_CheckWhenChangeWidthHeightOfPortletWithValidValu= eWhileEditingPortal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_12_02_037_CheckWhenChangeWidt= hHeightOfPortletWithValidValueWhileEditingPortal
open/portal/public/classic/
echo-- Check when change width/height of portlet with valid value while e= diting portal--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo-- Edit layout's portal --
waitForElementPresentlink=3DEdit Layout
clicklink=3DEdit Layout
echo-- Edit portlet --
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Banner Portlet
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]
waitForElementPresent//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
click//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
waitForElementPresentwidth
typewidth300px
typeheight500px
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
waitForElementPresent//div[@id=3D'UIPortalComposer']/div[3]/div/div/div[1]/table/tbody/tr/= td/div[2]/div/div/div/div
click//div[@id=3D'UIPortalComposer']/div[3]/div/div/div[1]/table/tbody/tr/= td/div[2]/div/div/div/div
waitForText//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/di= v[1]/div/div[2]/div/div/div[1]
echo-- View after change width/height of portlet --
waitForElementPresentlink=3DSwitch View Mode
clicklink=3DSwitch View Mode
echo-- Check when change width/height of portlet with blank while editing= portal--
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Banner Portlet
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]
waitForElementPresent//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
click//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
waitForElementPresentwidth
typewidth
typeheight
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
echo-- view when change width/height of portlet with blank --
waitForElementPresentlink=3DSwitch View Mode
clicklink=3DSwitch View Mode
waitForElementPresent//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_12_02_038_CheckWhenChangeWidthHeightOfP= ortletWithInValidValueWhileEditingPortal.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_12_02_038_CheckWhenChangeWidthHeightOfPort= letWithInValidValueWhileEditingPortal.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_038_CheckWhenChangeWidthHeightOfPort= letWithInValidValueWhileEditingPortal.html 2010-10-06 11:01:49 UTC (rev 453= 6) @@ -0,0 +1,197 @@ + + + + + + +Test_POR_12_02_038_CheckWhenChangeWidthHeightOfPortletWithInValidVa= lueWhileEditingPortal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_12_02_038_CheckWhenChangeWidt= hHeightOfPortletWithInValidValueWhileEditingPortal
open/portal/public/classic/
echo-- Check when change width/height of portlet with invalid value while= editing portal--
windowMaximize
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo-- Edit layout's portal --
waitForElementPresentlink=3DEdit Layout
clicklink=3DEdit Layout
echo-- Edit portlet --
mouseOver//div/div/div[2]/div/div/div/div/div/div/div[2]Banner Portlet
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]
echo-- Portlet Setting --
waitForElementPresent//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
click//div[5]/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]= /div/div/div/div
echo-- Change current value of Width/height with invalid value (number no= have with =E2=80=9Cpx=E2=80=9D) --
waitForElementPresentwidth
typewidth300
typeheight500
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
waitForTextPresentYou must enter a pixel value in field "Width:".
verifyTextPresentYou must enter a pixel value in field "Width:".
waitForTextPresentYou must enter a pixel value in field "Height:".
verifyTextPresentYou must enter a pixel value in field "Height:".
waitForElementPresentlink=3DOK
clicklink=3DOK
waitForElementPresentClose
clickClose
waitForElementPresent//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/candidate/Test_POR_12_02_049_CheckFinishFunctionAfterEdite= dPortlet.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_12_02_049_CheckFinishFunctionAfterEditedPo= rtlet.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/candidate/Test_POR_12_02_049_CheckFinishFunctionAfterEditedPo= rtlet.html 2010-10-06 11:01:49 UTC (rev 4536) @@ -0,0 +1,322 @@ + + + + + + +Test_POR_12_02_049_CheckFinishFunctionAfterEditedPortlet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_12_02_049_CheckFinishFunction= AfterEditedPortlet
open/portal/public/classic/
clicklink=3DSign in
windowMaximize
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Go to Edit layout--
waitForElementPresentlink=3DSite
clickAndWaitlink=3DSite
click//div[@id=3D'UISiteManagement']/table/tbody/tr/td[3]/a[1]
waitForElementPresent//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/di= v[1]/div/div[2]/div/div/div[1]
mouseOver//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/di= v[1]/div/div[2]/div/div/div[1]
click//div/div/div[2]/div/div/div/div/div/div/a[1]
echo--Go to Portlet Setting--
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
waitForElementPresenttitle
typetitlePOR_Test_12_02_049
typedescriptionPOR_Test_12_02_049
echo--Go to Select Icon--
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//form[@id=3D'UIPortletForm']/div[4]/div/div/div[2]/div[2]/div/a[1]/d= iv
click//form[@id=3D'UIPortletForm']/div[4]/div/div/div[2]/div[2]/div/a[1]/d= iv
waitForElementPresent//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[4]/div/div/div/div
echo-- Go to Decoration Themes--
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[4]/div/div/div/div
waitForElementPresent//div[@id=3D'UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div +
click//div[@id=3D'UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div +
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
waitForElementPresent//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
click//div[@id=3D'UIPortalComposer']/div[1]/div/div/div/a[2]
echo--Return to default--
waitForElementPresentlink=3DEdit Layout
clicklink=3DEdit Layout
waitForElementPresent//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/di= v[1]/div/div[2]/div/div/div[1]
mouseOver//div[2]/div/div/div/div/div/div[2]/div/div/div/div/div[1]/div/div/di= v[1]/div/div[2]/div/div/div[1]
click//div/div/div[2]/div/div/div/div/div/div/a[1]
echo-- Choose Portlet Setting--
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
waitForElementPresenttitle
typetitle
typedescription
echo--Choose Select Icon--
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
waitForElementPresentlink=3DGet Default
clicklink=3DGet Default
echo--Choose Decoration Themes--
waitForElementPresent//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[4]/div/div/div/div
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/= div/div/div/div/div[4]/div/div/div/div
waitForElementPresent//div[@id=3D'Theme']/div/div[2]/div[1]/div[3]/a
click//div[@id=3D'Theme']/div/div[2]/div[1]/div[3]/a
waitForElementPresentlink=3DSave And Close
clicklink=3DSave And Close
waitForElementPresent//a[contains(@href, "javascript:ajaxGet('/portal/private/classic= /portalnavigation?portal:componentId=3DUIPortalComposer&portal:action= =3DFinish&ajaxRequest=3Dtrue')")]
click//a[contains(@href, "javascript:ajaxGet('/portal/private/classic= /portalnavigation?portal:componentId=3DUIPortalComposer&portal:action= =3DFinish&ajaxRequest=3Dtrue')")]
waitForElementPresentlink=3DSign out
clickAndWaitlink=3DSign out
+ + --===============0505087725588050523==--