i
AddWebContentDraftTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
clickAtAndWait //input[@value='Add Web Content']
type _15_title Web Content Name Not Approved
pause 5000
waitForVisible //td[@id='cke_contents__15__15_structure_el_TextAreaField_content']/iframe CK Editor
selectFrame //td[@id='cke_contents__15__15_structure_el_TextAreaField_content']/iframe CK Editor
type //body Web Content Content Not Approved
selectFrame relative=top top
clickAtAndWait //input[@value='Save as Draft']
assertText //section/div/div/div/div[1] Your request processed successfully.
assertText //span[3]/strong Draft
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
assertText //td[3]/a Web Content Name Not Approved
assertText //td[4]/a Draft