SetupTest
waitForElementPresent //a[@id="my-community-private-pages"]
clickAtAndWait //a[@id="my-community-private-pages"]
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
waitForElementPresent //input[@value='Add Web Content']
clickAtAndWait //input[@value='Add Web Content']
waitForElementPresent _15_title
typeKeys _15_title WCS Setup Test Article
type _15_title WCS 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 WCS setup test article!
type //body This is a WCS setup test article!
selectFrame relative=top
waitForElementPresent _15_type
select _15_type label=Announcements
waitForElementPresent _15_description
type _15_description WCS Setup Test Description.
waitForElementPresent //input[@value='Save and Approve']
clickAtAndWait //input[@value='Save and Approve']
waitForElementPresent link=Back to My Community
clickAtAndWait link=Back to My Community
waitForElementPresent //div/a/span
clickAt //div/a/span
waitForElementPresent new_page
typeKeys new_page WCS Setup Test Page
type new_page WCS Setup Test Page
clickAt link=Save
waitForElementPresent link=WCS Setup Test Page
clickAtAndWait link=WCS Setup Test Page
waitForElementPresent link=Add Application
clickAt link=Add Application
waitForElementPresent //div[@id='ContentManagement-WebContentDisplay']/p/a
clickAt //div[@id='ContentManagement-WebContentDisplay']/p/a
waitForElementPresent link=Configuration
clickAtAndWait link=Configuration
clickAtAndWait link=WCS Setup Test Article