PreviewWDFrontPageChildPageTest
open /web/guest/home/
waitForElementPresent link=Wiki Display Test Page
clickAtAndWait link=Wiki Display Test Page
clickAtAndWait link=Add Child Page
type //td[2]/input Front Page Child Page Test
pause 5000
waitForElementPresent //td[@class='cke_contents']/iframe IFrame
selectFrame //td[@class='cke_contents']/iframe IFrame
type //body This is a front page child page test.
selectFrame relative=top top
clickAtAndWait //input[@value='Preview']
assertText //div[@class='preview']/div This is a front page child page test.
clickAtAndWait //input[@value='Cancel']
assertTextNotPresent Your request processed successfully.
assertElementNotPresent Front Page Child Page Test