From do-not-reply at jboss.org Tue Apr 27 06:12:18 2010 Content-Type: multipart/mixed; boundary="===============2616538913798080549==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r2820 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium. Date: Tue, 27 Apr 2010 06:12:18 -0400 Message-ID: <201004271012.o3RACISk013830@svn01.web.mwc.hst.phx2.redhat.com> --===============2616538913798080549== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-04-27 06:12:17 -0400 (Tue, 27 Apr 2010) New Revision: 2820 Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html Log: Change script for Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatf= orm/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.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_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-04-27 0= 9:52:13 UTC (rev 2819) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-04-27 1= 0:12:17 UTC (rev 2820) @@ -4,12 +4,12 @@ -Test_SNF_PRL_13 +Test_SNF_PRL_13_AddRemoteAndCreateNewGadget - + @@ -47,11 +47,21 @@ - + + + + + + + + + + + @@ -67,6 +77,11 @@ + + + + + @@ -87,6 +102,11 @@ + + + + + @@ -107,6 +127,11 @@ + + + + + @@ -127,7 +152,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --===============2616538913798080549==--
Test_SNF_PRL_13
Test_SNF_PRL_13_AddRemoteAndCreateNewG= adget
opengtn
clickAndWaitclickAt //div[@id=3D'UIPortalLoginFormAction']/div/div/div
echo--Go to Application registry--
waitForElementPresentlink=3DApplication Registry
clickAt link=3DApplication Registry 1,1
echo--Add a remote gadget--
waitForElementPresent //div[@class=3D'IconControl AddNewIcon'] http://www.google.com/ig/modules/datetime.xml
waitForElementPresentlink=3DAdd
clickAt link=3DAdd 1,1
echo--Delete remote gadget--
clickAt //div[@class=3D'SelectedItem ItemContent']/a[2]
echo--Add a new gadget--
waitForElementPresent//div[@onclick=3D"javascript:ajaxGet('/portal/private/classic/ad= ministration/registry?portal:componentId=3Dbf8f4620-4e76-4423-b3b9-836883e4= 7806&portal:type=3Daction&uicomponent=3DUIGadgetManagement&op= =3DAddLocalGadget&ajaxRequest=3Dtrue')"]
clickAt//div[@onclick=3D"javascript:ajaxGet('/portal/private/classic/ad= ministration/registry?portal:componentId=3Dbf8f4620-4e76-4423-b3b9-836883e4= 7806&portal:type=3Daction&uicomponent=3DUIGadgetManagement&op= =3DAddLocalGadget&ajaxRequest=3Dtrue')"]
typenameSNF_PRL_13
waitForElementPresentlink=3DSave
clickAtlink=3DSave
waitForTextPresentGadget Details
waitForElementPresent//a[@onclick=3D"javascript:if(confirm('Are you sure to delete th= is gadget?'))ajaxGet('/portal/private/classic/administration/registry?porta= l:componentId=3Dbf8f4620-4e76-4423-b3b9-836883e47806&portal:type=3Dacti= on&uicomponent=3DUIGadgetManagement&op=3DRemoveGadget&objectId= =3DSNF_PRL_13&ajaxRequest=3Dtrue')"]
clickAt//a[@onclick=3D"javascript:if(confirm('Are you sure to delete th= is gadget?'))ajaxGet('/portal/private/classic/administration/registry?porta= l:componentId=3Dbf8f4620-4e76-4423-b3b9-836883e47806&portal:type=3Dacti= on&uicomponent=3DUIGadgetManagement&op=3DRemoveGadget&objectId= =3DSNF_PRL_13&ajaxRequest=3Dtrue')"]
waitForConfirmationAre you sure to delete this gadget?
waitForElementPresent//div[@class=3D'SelectedItem ItemContent']/a[@title=3D'Calculator'] +
waitForElementPresent link=3DSign out