TearDownTest
waitForElementPresent link=Blogs Test Page
clickAtAndWait 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']
clickAtAndWait //img[@alt='Configuration']
waitForElementPresent _86_pageDisplayStyle
select _86_pageDelta label=10
select _86_pageDisplayStyle label=Full Content
waitForElementPresent //input[@value='Save']
clickAtAndWait //input[@value='Save']
waitForElementPresent link=Return to Full Page
clickAtAndWait 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
clickAtAndWait //div[2]/ul/li[1]/a/span
waitForElementPresent link=Manage Pages
clickAtAndWait link=Manage Pages
waitForElementPresent //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span
waitForElementPresent link=Page
clickAtAndWait 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
clickAtAndWait //div[2]/ul/li[1]/a/span