SaveRelatedListViewLayout
setTimeout 45000
open index.php/designer/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='TitleBarAndDesignerPageMenuView']/div/ul/li[3]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait link=Layouts
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Accounts: Layouts
clickAndWait //div[@id='ActionBarAndModuleEditableMetadataCollectionView']/div[2]/div/ul/li[9]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Edit Layout: Portlet List View - My Accounts
click saveLayout
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Layout saved successfully