Account Portlet Projects
setTimeout 45000
open index.php
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //html/body/section/nav/div[1]/ul/li[3]/a/span
waitForText //html/body/section/div[1]/div[2]/div[1]/form/div[5]/a[4] Items I Own
sendKeys //html/body/section/div[1]/div[2]/div[1]/form/div[2]/table/tbody/tr/td/input Test Account ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[3]/div/div[2]/table/tbody/tr[1]/td[3]/a Test Account ${randomSuffix}
verifyValue //html/body/section/div[1]/div[2]/div[1]/form/div[2]/table/tbody/tr/td/input Test Account ${randomSuffix}
click //html/body/section/div[1]/div[3]/div/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[2]/div/ul[1]/li[1]/div[2]/div/div/div/div/table/tbody/tr[1]/td Test Account ${randomSuffix}
setSpeed 3000
click //html/body/section/div[1]/div[2]/div[1]/nav/div[3]/a/span
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/div[5]/div[2]/div/div/ul/li[5]/h3/a Projects
clickAndWait //html/body/div[5]/div[2]/div/div/ul/li[5]/div/a/span
waitForText //html/body/section/div[1]/div[2]/div[2]/div/ul[2]/li[1]/div/h3 Projects
click //html/body/section/div[1]/div[2]/div[2]/div/ul[2]/li[1]/div[1]/div/ul/li/ul/li/a/span
assertConfirmation This portlet will be removed, ok?
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForNotText //html/body/section/div[1]/div[2]/div[2]/div/ul[2]/li[1]/div/h3 Projects
setSpeed 0
clickAndWait //html/body/section/nav/div[1]/ul/li[3]/a/span
waitForText //html/body/section/div[1]/div[2]/div[1]/form/div[5]/a[4] Items I Own
click //html/body/section/div[1]/div[2]/div[1]/form/div[5]/a[3]/span[2]
waitForTextNotPresent Criteria Selected