AddBlogsEntryCPTest
open /web/web/home/
waitForElementPresent link=Control Panel Control Panel
clickAtAndWait link=Control Panel Control Panel
clickAtAndWait link=Blogs Blogs
clickAtAndWait //input[@value='Add Blog Entry'] Add Blog Entry
type //input[@id='_33_title'] Blogs Entry Title
pause 5000
waitForVisible //iframe[@id='_33_editor'] CK Editor
waitForVisible //td[@id='cke_contents_CKEditor1']/iframe CK Editor
selectFrame //iframe[@id='_33_editor'] CK Editor
selectFrame //td[@id='cke_contents_CKEditor1']/iframe CK Editor
type //body Blogs Entry Content
selectFrame relative=top top
clickAtAndWait //input[@value='Publish'] Publish
assertText //div[@class='entry-title']/a Blogs Entry Title
assertText //div[@class='entry-body']/p Blogs Entry Content