AddBlogsEntry2Test
open /web/guest/home/
waitForVisible link=Blogs Test Page Blogs Test page
clickAtAndWait link=Blogs Test Page Blogs Test Page
clickAtAndWait //input[@value='Add Blog Entry'] Add Blog Entry
type //input[@id='_33_title'] Blogs2 Entry2 Title2
pause 5000
waitForVisible //td[@id='cke_contents__33_editor']/iframe CK Editor
selectFrame //td[@id='cke_contents__33_editor']/iframe CK Editor
type //body Blogs2 Entry2 Content2.
selectFrame relative=top top
clickAt //input[@value='Publish'] Publish
waitForText //div[@class='portlet-msg-success'] Your request processed successfully.
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
assertText xPath=(//div[@class='entry-title'])[1]/a Blogs2 Entry2 Title2
assertText xPath=(//div[@class='entry-body'])[1]/p Blogs2 Entry2 Content2.
assertText xPath=(//div[@class='entry-title'])[2]/a Blogs Entry Title
assertText xPath=(//div[@class='entry-body'])[2]/p Blogs Entry Content