Test_SNF_ECMS_04_EditSCV_ecmdemo
open /ecmdemo/public/acme/
windowMaximize
echo -- Log in
click link=Login
waitForElementPresent username
type username root
type password gtn
clickAndWait link=Sign in
echo -- Change Edit mode
select EditingOptions label=Edit
echo -- Edit SCV at footer on Overview page
waitForElementPresent //a[contains(@href,'Footer&edit')]
mouseOver //a[contains(@href,'Footer&edit')]
clickAndWait //a[contains(@href,'Footer&edit')]
echo -- Change content
waitForElementPresent //td[contains(@id,'cke_contents_htmlData')]/iframe
selectFrame //td[contains(@id,'cke_contents_htmlData')]/iframe
type //html/body Powered by eXo WCM - Copyright @ 2000-2009. All rights Reserved, eXo Platform SEA
selectFrame relative=top
echo -- Save as Draft
waitForElementPresent //div[contains(text(),'Save as Draft')]
click //div[contains(text(),'Save as Draft')]
pause 3000
echo -- Close
waitForElementPresent //div[contains(text(),'Close')]
click //div[contains(text(),'Close')]
pause 3000
echo -- Back Overview
waitForElementPresent //div[@id='UIViewBarContainer']/a[1]
click //div[@id='UIViewBarContainer']/a[1]
pause 3000
waitForTextPresent Powered by eXo WCM - Copyright @ 2000-2009. All rights Reserved, eXo Platform SEA
verifyTextPresent Powered by eXo WCM - Copyright @ 2000-2009. All rights Reserved, eXo Platform SEA
echo -- Log out
waitForElementPresent link=Sign out
clickAndWait link=Sign out