Check Validation Of Create Task Form
setTimeout 45000
open index.php/projects/demo/loadProjectSampler
waitForPageToLoad
open index.php
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //html/body/section/nav/div[1]/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/nav/div[1]/ul/li[8]/a/span Projects
clickAndWait //html/body/section/nav/div[1]/ul/li[8]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[1]/div[2]/div/h1 How do Projects work in Zurmo?
clickAndWait //html/body/section/div[1]/div[2]/div[1]/div[1]/nav[1]/div[2]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[2]/div/form/div[5]/a[4] Items I Own
sendKeys //html/body/section/div[1]/div[2]/div[2]/div/form/div[2]/table/tbody/tr/td/input Test Project For Functional
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[1]/td[2]/a Test Project For Functional
waitForValue //html/body/section/div[1]/div[2]/div[2]/div/form/div[2]/table/tbody/tr/td/input Test Project For Functional
clickAndWait //html/body/section/div[1]/div[2]/div[3]/div/div[2]/table/tbody/tr[1]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/h1/span/span Test Project For Functional
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[4]/div[1]/span Create Task
click //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[1]/table/tbody/tr[3]/td/a
waitForText //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[2]/table/tbody/tr[11]/th/label Who can read and write
assertSelectedLabel //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[2]/table/tbody/tr[1]/td/div[1]/select New
assertValue //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[2]/table/tbody/tr[2]/td/div[1]/input Super User
assertValue //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[2]/table/tbody/tr[3]/td/div[1]/input Super User
assertValue //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[2]/table/tbody/tr[10]/td/div/input Test Project For Functional
assertSelectedLabel //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[2]/table/tbody/tr[11]/td/div/div/select East
click //html/body/div[4]/div[2]/div/div/div/div/form/div[2]/div/div/a[1]/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Name cannot be blank.
waitForText //html/body/div[4]/div[2]/div/div/div/div/form/div[1]/div/div[1]/table/tbody/tr[1]/td/div Name cannot be blank.
open index.php/projects/default/list
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div[2]/div/form/div[5]/a[4] Items I Own
click //html/body/section/div[1]/div[2]/div[2]/div/form/div[5]/a[3]/span[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected