AddWCDWebContentTest
open /web/guest/home/
waitForVisible link=Web Content Display Page
clickAtAndWait link=Web Content Display Page
clickAtAndWait //img[@alt='Add Web Content']
type _15_title Web Content Name
pause 5000
waitForElementPresent _15_structure_el_TextAreaField_content
waitForElementPresent cke_contents_CKEditor1
waitForElementPresent //textarea
selectFrame //iframe[@id='_15_structure_el_TextAreaField_content']
selectFrame //td[@id='cke_contents_CKEditor1']/iframe
type //body Web Content Content
selectFrame relative=top
clickAtAndWait //input[@value='Submit for Publication']
assertText //div[@class='portlet-msg-alert'] Web Content Name is not approved.