Create Account
setTimeout 45000
open index.php/workflows/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyElementPresent id=WorkflowsSearchForm_anyMixedAttributes
type id=WorkflowsSearchForm_anyMixedAttributes WorkflowTest ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
keyUp id=WorkflowsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/table/tbody/tr[1]/td[2]/a WorkflowTest ${randomSuffix}
verifyTextPresent WorkflowTest ${randomSuffix}
verifyValue WorkflowsSearchForm_anyMixedAttributes WorkflowTest ${randomSuffix}
clickAndWait link=WorkflowTest ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText //div[@id='WorkflowDetailsView']/div/div[2]/div/table/tbody/tr[1]/td WorkflowTest ${randomSuffix}
clickAndWait link=Edit
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //a[@id='moduleNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Office Fax
click //a[@id='triggersNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Account
click //a[@id='actionsNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent A person associated with the triggered record
click //a[@id='emailMessagesNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Save Workflow
type id=OnSaveWorkflowWizardForm_name WorkflowTestEdit ${randomSuffix}
clickAndWait //a[@id='generalDataSaveAndRunLink']/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText //div[@id='WorkflowDetailsView']/div/h1/span/span WorkflowTestEdit ${randomSuffix}