Create Account
setTimeout 45000
storeGlobal javascript{Math.floor(Math.random()*11000)} randomSuffix
open index.php/marketing/default/dashboardDetails
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Dashboard
assertTextPresent Lists
assertTextPresent Templates
assertTextPresent Campaigns
click link=Create Template
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
assertTextPresent Create Email Template
clickAndWait save
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 0
waitForTextPresent Please fix the following input errors:
waitForTextPresent Name cannot be blank.
waitForTextPresent Subject cannot be blank.
waitForTextPresent Please provide at least one of the contents field.
type id=EmailTemplate_name Test Email Template ${randomSuffix}
type id=EmailTemplate_subject test email subject.
setSpeed 3000
type id=EmailTemplate_files C:\Inetpub\selenium\zurmo_bleeding\app\protected\modules\emailTemplates\tests\functional\files\testLogo.png
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 0
type id=EmailTemplate_htmlContent test html
type id=EmailTemplate_textContent Our goal with Zurmo is to provide an easy-to-use, easy-to-customize CRM application that can be adapted to any business use case. We have taken special care to think through many different use cases and have designed a system that we believe provides a high degree of flexibility and a wide range of out-of-the-box use cases. Zurmo is capable of supporting your complex business processes, yet very simple to use.
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Test Email Template ${randomSuffix}
setSpeed 3000
assertText //div[@id='EmailTemplateEditAndDetailsView']/div/div[2]/div[1]/table/tbody/tr[1]/td Test Email Template ${randomSuffix}
assertText //div[@id='EmailTemplateEditAndDetailsView']/div/div[2]/div[1]/table/tbody/tr[2]/td test email subject.
assertText //div[@id='tab1'] Our goal with Zurmo is to provide an easy-to-use, easy-to-customize CRM application that can be adapted to any business use case. We have taken special care to think through many different use cases and have designed a system that we believe provides a high degree of flexibility and a wide range of out-of-the-box use cases. Zurmo is capable of supporting your complex business processes, yet very simple to use.
setSpeed 0