AddAPWebContentTest
open /web/guest/home/
waitForVisible link=Asset Publisher Page
clickAtAndWait link=Asset Publisher Page
clickAt //div/ul/li/strong/a Add New
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Web Content
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Web Content
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a 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 //p There are no results.