TearDownTest
waitForElementPresent link=Blogs Test Page
clickAndWait link=Blogs Test Page
store eval(selenium.isElementPresent('link=Delete')) EntryPresent
gotoIf !${EntryPresent} No Entry Present
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
label No Entry Present
waitForElementPresent //img[@alt='Configuration']
clickAndWait //img[@alt='Configuration']
waitForElementPresent _86_pageDelta
select _86_pageDelta label=10
select _86_pageDisplayStyle label=Full Content
waitForElementPresent //input[@value='Save']
clickAndWait //input[@value='Save']
waitForElementPresent link=Return to Full Page
clickAndWait link=Return to Full Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span
waitForElementPresent link=Manage Pages
clickAndWait link=Manage Pages
waitForElementPresent //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span
clickAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span
waitForElementPresent link=Page
clickAndWait link=Page
waitForElementPresent //input[@value='Delete']
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span