Update Account
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[6]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div/h1/span/span Test Account ${randomSuffix}
type //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[11]/td/textarea This is a test account after editing
clickAndWait //html/body/section/div[1]/div/div/form/div[2]/div/div/a[1]/span[3]
waitForTextPresent Test Account ${randomSuffix}
assertText //html/body/section/div[1]/div[2]/div[2]/div/ul[1]/li[1]/div[2]/div/div/div/div/table/tbody/tr[11]/td This is a test account after editing
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