TearDownTest
store eval(selenium.isElementPresent('link=AP Setup Blogs Test Page')) BlogsPagePresent
gotoIf !${BlogsPagePresent} No Blogs Page Present
waitForElementPresent link=AP Setup Blogs Test Page
clickAndWait link=AP Setup Blogs Test Page
store eval(selenium.isElementPresent('//strong/span')) BlogsPortletPresent
gotoIf !${BlogsPortletPresent} No Blogs Portlet Present
store eval(selenium.isElementPresent('link=Delete')) BlogsPresentA
gotoIf !${BlogsPresentA} No Blogs PresentA
waitForElementPresent link=Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
label No Blogs PresentA
store eval(selenium.isElementPresent('link=Delete')) BlogsPresentB
gotoIf !${BlogsPresentB} No Blogs PresentB
waitForElementPresent link=Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
label No Blogs PresentB
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No Blogs Portlet Present
label No Blogs Page Present
store eval(selenium.isElementPresent('link=AP Setup Bookmark Test Page')) BookmarkPagePresent
gotoIf !${BookmarkPagePresent} No Bookmark Page Present
waitForElementPresent link=AP Setup Bookmark Test Page
clickAndWait link=AP Setup Bookmark Test Page
store eval(selenium.isElementPresent('//strong/span')) BookmarkPortletPresent
gotoIf !${BookmarkPortletPresent} No Bookmark Portlet Present
store eval(selenium.isElementPresent('//b')) BookmarkFolderPresent
gotoIf !${BookmarkFolderPresent} No Bookmark Folder Present
clickAndWait //b
store eval(selenium.isElementPresent('//strong/span')) BookmarkEntryPresentA
gotoIf !${BookmarkEntryPresentA} No Bookmark Entry PresentA
click //strong/span
waitForElementPresent //body/div[2]/ul/li[3]/a
clickAndWait //body/div[2]/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label No Bookmark Entry PresentA
store eval(selenium.isElementPresent('//strong/span')) BookmarkEntryPresentB
gotoIf !${BookmarkEntryPresentB} No Bookmark Entry PresentB
click //strong/span
waitForElementPresent //body/div[2]/ul/li[3]/a
clickAndWait //body/div[2]/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label No Bookmark Entry PresentB
clickAndWait link=Return to Full Page
click //td[4]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[3]/a
clickAndWait //body/div[2]/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label No Bookmark Folder Present
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No Bookmark Portlet Present
label No Bookmark Page Present
store eval(selenium.isElementPresent('link=AP Setup DL Test Page')) DLPagePresent
gotoIf !${DLPagePresent} No DL Page Present
waitForElementPresent link=AP Setup DL Test Page
clickAndWait link=AP Setup DL Test Page
store eval(selenium.isElementPresent('//strong/span')) DLPortletPresent
gotoIf !${DLPortletPresent} No DL Portlet Present
store eval(selenium.isElementPresent('link=AP Setup DL Test Folder')) DLFolderPresent
gotoIf !${DLFolderPresent} No DL Folder Present
clickAndWait link=AP Setup DL Test Folder
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) DocumentPresentA
gotoIf !${DocumentPresentA} No Document PresentA
click //td[5]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[4]/a
clickAndWait //body/div[2]/ul/li[4]/a
assertConfirmation Are you sure you want to delete this?
label No Document PresentA
store eval(selenium.isElementPresent('//td[5]/ul/li/strong/span')) DocumentPresentB
gotoIf !${DocumentPresentB} No Document PresentB
click //td[5]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[4]/a
clickAndWait //body/div[2]/ul/li[4]/a
assertConfirmation Are you sure you want to delete this?
label No Document PresentB
clickAndWait //form[1]/div[1]/span[1]/a
click //li[2]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[3]/a
clickAndWait //body/div[2]/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label No DL Folder Present
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No DL Portlet Present
label No DL Page Present
store eval(selenium.isElementPresent('link=AP Setup IG Test Page')) IGPagePresent
gotoIf !${IGPagePresent} No IG Page Present
waitForElementPresent link=AP Setup IG Test Page
clickAndWait link=AP Setup IG Test Page
store eval(selenium.isElementPresent('//strong/span')) IGPortletPresent
gotoIf !${IGPortletPresent} No IG Portlet Present
store eval(selenium.isElementPresent('//b')) IGFolderPresent
gotoIf !${IGFolderPresent} No IG Folder Present
clickAndWait //b
store eval(selenium.isElementPresent('//a/img')) ImagePresentA
gotoIf !${ImagePresentA} No Image PresentA
waitForElementPresent //img[@alt='Image']
click //img[@alt='Image']
waitForElementPresent //div[3]/ul/li[3]/a[2]
clickAndWait //div[3]/ul/li[3]/a[2]
assertConfirmation Are you sure you want to delete this?
label No Image PresentA
store eval(selenium.isElementPresent('//a/img')) ImagePresentB
gotoIf !${ImagePresentB} No Image PresentB
waitForElementPresent //img[@alt='Image']
click //img[@alt='Image']
waitForElementPresent //div[3]/ul/li[3]/a[2]
clickAndWait //div[3]/ul/li[3]/a[2]
assertConfirmation Are you sure you want to delete this?
label No Image PresentB
clickAndWait link=Return to Full Page
click //td[4]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[3]/a
clickAndWait //body/div[2]/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
label No IG Folder Present
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No IG Portlet Present
label No IG Page Present
store eval(selenium.isElementPresent('link=AP Setup Journal Test Page')) JournalPagePresent
gotoIf !${JournalPagePresent} No Journal Page Present
waitForElementPresent link=AP Setup Journal Test Page
clickAndWait link=AP Setup Journal Test Page
store eval(selenium.isElementPresent('//strong/span')) JournalPortletPresent
gotoIf !${JournalPortletPresent} No Journal Portlet Present
waitForElementPresent link=Articles
clickAndWait link=Articles
waitForElementPresent _15_allRowIds
click _15_allRowIds
waitForElementPresent //input[@value='Delete']
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected articles?
clickAndWait link=Return to Full Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No Journal Portlet Present
label No Journal Page Present
store eval(selenium.isElementPresent('link=AP Setup MB Test Page')) MBPagePresent
gotoIf !${MBPagePresent} No MB Page Present
waitForElementPresent link=AP Setup MB Test Page
clickAndWait link=AP Setup MB Test Page
store eval(selenium.isElementPresent('//strong/span')) MBPortletPresent
gotoIf !${MBPortletPresent} No MB Portlet Present
store eval(selenium.isElementPresent('//b')) CategoryPresent
gotoIf !${CategoryPresent} No Category Present
clickAndWait //b
store eval(selenium.isElementPresent('//td[6]/ul/li/strong/span')) ThreadPresent
gotoIf !${ThreadPresent} No Thread Present
click //td[6]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[6]/a
clickAndWait //body/div[2]/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label No Thread Present
clickAndWait link=Categories
click //td[5]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[5]/a
clickAndWait //body/div[2]/ul/li[5]/a
assertConfirmation Are you sure you want to delete this?
label No Category Present
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No MB Portlet Present
label No MB Page Present
store eval(selenium.isElementPresent('link=AP Setup Wiki Test Page')) WikiPagePresent
gotoIf !${WikiPagePresent} No Wiki Page Present
waitForElementPresent link=AP Setup Wiki Test Page
clickAndWait link=AP Setup Wiki Test Page
store eval(selenium.isElementPresent('//strong/span')) WikiPortletPresent
gotoIf !${WikiPortletPresent} No Wiki Portlet Present
clickAndWait link=Recent Changes
store eval(selenium.isElementPresent('//td[6]/ul/li/strong/span')) WikiPresentA
gotoIf !${WikiPresentA} No Wiki PresentA
click //td[6]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[6]/a
clickAndWait //body/div[2]/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label No Wiki PresentA
store eval(selenium.isElementPresent('//td[6]/ul/li/strong/span')) WikiPresentB
gotoIf !${WikiPresentB} No Wiki PresentB
click //td[6]/ul/li/strong/span
waitForElementPresent //body/div[2]/ul/li[6]/a
clickAndWait //body/div[2]/ul/li[6]/a
assertConfirmation Are you sure you want to delete this?
label No Wiki PresentB
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No Wiki Portlet Present
label No Wiki Page Present
store eval(selenium.isElementPresent('link=Asset Publisher Test Page')) APPagePresent
gotoIf !${APPagePresent} No AP Page Present
waitForElementPresent link=Asset Publisher Test Page
clickAndWait link=Asset Publisher Test Page
store eval(selenium.isElementPresent('//strong/span')) APPortletPresent
gotoIf !${APPortletPresent} No AP Portlet Present
waitForElementPresent link=Configuration
clickAndWait link=Configuration
waitForElementPresent _86_selectionStyle
select _86_selectionStyle label=Dynamic
select _86_classNameId label=All
waitForElementPresent //input[@value='Save']
clickAndWait //input[@value='Save']
click link=Display Settings
waitForElementPresent _86_displayStyle
select _86_displayStyle label=Abstracts
select _86_delta label=20
select _86_paginationType label=None
clickAndWait //input[@value='Save']
clickAndWait link=Return to Full Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label No AP Portlet Present
label No AP Page Present
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span
clickAndWait link=Manage Pages
pause 5000
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) BlogsPagesPresent
gotoIf !${BlogsPagesPresent} No Blogs Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No Blogs Pages Present
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) BookmarkPagesPresent
gotoIf !${BookmarkPagesPresent} No Bookmark Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No Bookmark Pages Present
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) DLPagesPresent
gotoIf !${DLPagesPresent} No DL Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No DL Pages Present
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) IGPagesPresent
gotoIf !${IGPagesPresent} No IG Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No IG Pages Present
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) JournalPagesPresent
gotoIf !${JournalPagesPresent} No Journal Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No Journal Pages Present
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) MBPagesPresent
gotoIf !${MBPagesPresent} No MB Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No MB Pages Present
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) WikiPagesPresent
gotoIf !${WikiPagesPresent} No Wiki Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No Wiki Pages Present
store eval(selenium.isElementPresent('//li[2]/ul/li[3]/a/span')) APPagesPresent
gotoIf !${APPagesPresent} No AP Pages Present
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
label No AP Pages Present
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span