From do-not-reply at jboss.org Wed Aug 4 23:59:31 2010 Content-Type: multipart/mixed; boundary="===============6964471382888704046==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3747 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest. Date: Wed, 04 Aug 2010 23:59:30 -0400 Message-ID: <201008050359.o753xUOD006239@svn01.web.mwc.hst.phx2.redhat.com> --===============6964471382888704046== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-08-04 23:59:30 -0400 (Wed, 04 Aug 2010) New Revision: 3747 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/NewSnifftest/Test_SNF_PRL_51_ManageGadget.html Log: TESTVN-1006: Create new GateIn Selenium = Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/NewSnifftest/Test_SNF_PRL_51_ManageGadget.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_51_ManageGadget.html = (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/NewSnifftest/Test_SNF_PRL_51_ManageGadget.html 2010-08-05 03:= 59:30 UTC (rev 3747) @@ -0,0 +1,172 @@ + + + + + + +Test_SNF_PRL_51_ManageGadget + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_SNF_PRL_51_ManageGadget
open/portal/public/classic
windowMaximize
echo-- Manage gadget--
clicklink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWaitxpath=3D//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
clickAndWaitlink=3DDashboard
echo--Add gadgets into dashboard page
waitForElementPresentlink=3DAdd Gadgets
clicklink=3DAdd Gadgets
echo--Input URL --
waitForElementPresent//input[@id=3D'url']
type//input[@id=3D'url']http://www.labpixies.com/campaigns/finance/finance.xml
waitForElementPresent//img[@title=3D'Add Gadget']
click//img[@title=3D'Add Gadget']
echo-- Edit gadget--
waitForElementPresent//div[3]/div[1]/div/div[1]/div/div/div/div[4]
click//div[3]/div[1]/div/div[1]/div/div/div/div[4]
waitForElementPresent//input[@value=3D'Save']
clickAt//input[@value=3D'Save']
echo-- Close Dashboard Workspace--
verifyElementPresent//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]=
click//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]=
echo--Delete gadget--
waitForElementPresent//div[2]/div/div[3]/div[1]/div/div[1]/div/div/div/div[1]
click//div[2]/div/div[3]/div[1]/div/div[1]/div/div/div/div[1]
waitForConfirmationPresent
assertConfirmationAre you sure to delete this gadget?
clickAndWaitlink=3DSign out
+ + --===============6964471382888704046==--