SetupTest
waitForElementPresent //a[@id="my-community-private-pages"]
clickAtAndWait //a[@id="my-community-private-pages"]
clickAt //div[@id='add-page']/a/span
waitForElementPresent new_page
typeKeys new_page JA Setup Test Page
type new_page JA Setup Test Page
clickAt link=Save
waitForElementPresent link=JA Setup Test Page
clickAtAndWait link=JA Setup Test Page
clickAt link=Add Application
waitForElementPresent //div[@id='CMS-Journal']/p/a
clickAt //div[@id='CMS-Journal']/p/a
waitForElementPresent //input[@value='Add Article']
clickAtAndWait //input[@value='Add Article']
typeKeys _15_title JA Setup Test Article
type _15_title JA Setup Test Article
pause 5000
waitForElementPresent _15_editor
waitForElementPresent FCKeditor1___Frame
waitForElementPresent //textarea
selectFrame //iframe[@id="_15_editor"]
selectFrame //iframe[@id="FCKeditor1___Frame"]
selectFrame //iframe
typeKeys //body This is a JA setup test article!
type //body This is a JA setup test article!
selectFrame relative=top
select _15_type label=Test
clickAtAndWait //input[@value='Save and Approve']