project > quickcreate project
assertElementPresent todoyuheadletquickcreate-button
click todoyuheadletquickcreate-button
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
assertElementPresent css=li#todoyuheadletquickcreate.headlet ul#todoyuheadletquickcreate-content.content
assertVisible css=a.todoyuheadletquickcreate-item-project-task
assertVisible css=a.todoyuheadletquickcreate-item-project-project
assertVisible css=a.todoyuheadletquickcreate-item-calendar-event
assertVisible css=a.todoyuheadletquickcreate-item-contact-person
assertVisible css=a.todoyuheadletquickcreate-item-contact-company
click css=a.todoyuheadletquickcreate-item-project-project
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
assertElementPresent css=html body#todoyu-project.todoyu-project div#quickcreate.dialog
assertElementPresent project-0-field-title
assertElementPresent project-0-field-title
assertElementPresent project-0-field-status
assertElementPresent project-0-field-date-start
assertElementPresent project-0-field-date-end
assertElementPresent project-0-field-date-deadline
assertElementPresent project-0-field-id-company-fulltext
assertElementPresent project-0-field-id-taskpreset
assertElementPresent add-record
assertElementPresent project-0-field-save
assertElementPresent project-0-field-cancel
assertTextNotPresent Please enter a project title
assertTextNotPresent This is a required field
assertTextNotPresent A customer is required for a project
click project-0-field-cancel
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
assertElementNotPresent css=html body#todoyu-project.todoyu-project div#quickcreate.dialog
click todoyuheadletquickcreate-button
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
click css=a.todoyuheadletquickcreate-item-project-project
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
click css=div#quickcreate.dialog div#quickcreate_close.dialog_close
pause 500
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
assertElementNotPresent css=html body#todoyu-project.todoyu-project div#quickcreate.dialog
click todoyuheadletquickcreate-button
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
click css=a.todoyuheadletquickcreate-item-project-project
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
click project-0-field-save
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
assertTextPresent Please enter a project title
assertTextPresent This is a required field
assertTextPresent A customer is required for a project
type project-0-field-title new project for testing
selectFrame css=#project-0-field-description_ifr
focus css=#tinymce
type css=#tinymce And here some wonderfull description...
selectFrame relative=parent
click project-0-field-save
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
assertTextNotPresent Please enter a project title
assertTextPresent This is a required field
assertTextPresent A customer is required for a project
type project-0-field-date-start 03/21/2011
type project-0-field-date-end 03/27/2011
type project-0-field-date-deadline 03/23/2011
keyPress project-0-field-id-company-fulltext e
keyPress project-0-field-id-company-fulltext i
keyPress project-0-field-id-company-fulltext s
keyPress project-0-field-id-company-fulltext b
keyDown project-0-field-id-company-fulltext e
pause 200
keyUp project-0-field-id-company-fulltext e
clickAt css=div#project-0-field-id-company-suggest.acResultContainer ul li#8.selected \13
click project-0-field-save
pause 100
waitForCondition selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 10000
assertTextPresent Eisbergen: new project f