CA_AddWCDArticleTest
store eval(selenium.isElementPresent('link=Back to Guest')) InControlPanel
gotoIf !${InControlPanel} NotInControlPanel
clickAtAndWait link=Back to Guest
label NotInControlPanel
clickAtAndWait link=Web Content Display Permissions Test Page
clickAtAndWait //img[@alt='Add Web Content']
type _15_title CA Permissions WCD Article
pause 5000
waitForElementPresent _15_editor
waitForElementPresent FCKeditor1___Frame
waitForElementPresent //textarea
selectFrame //iframe[@id="_15_editor"]
selectFrame //iframe[@id="FCKeditor1___Frame"]
selectFrame //iframe
type //body This is a ca permissions wcd article!
selectFrame relative=top
clickAtAndWait //input[@value='Save and Approve']
assertTextPresent This is a ca permissions wcd article!