Check Account Form Validation
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
clickAndWait //html/body/section/div[1]/div[1]/div/nav/div[1]/a/span
waitForText //html/body/section/div[1]/div/h1/span/span Create Account
type //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[5]/td/input a
type //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[6]/td/input a
type //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[8]/td/input a
clickAndWait //html/body/section/div[1]/div/div/form/div[2]/div/div/a[1]/span[3]
waitForText //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[1]/td/div Name cannot be blank.
waitForText //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[5]/td/div Employees must be integer.
waitForText //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[6]/td/div Annual Revenue must be float.
waitForText //html/body/section/div[1]/div/div/form/div[1]/div[2]/div/table/tbody/tr[8]/td/div Website is not a valid URL.