Create Meetings And Check In Calendar
setTimeout 45000
open index.php/accounts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Create
verifyTextPresent Advanced
type AccountsSearchForm_anyMixedAttributes Test Account ${randomSuffix}
keyUp AccountsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a Test Account ${randomSuffix}
verifyTextPresent Test Account ${randomSuffix}
clickAndWait link=Test Account ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Test Account ${randomSuffix}
click //div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[1]/div[1]/div/div/div/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Meeting
type Meeting_name Meeting Created On ${month}/${date}/${year}
type Meeting_startDateTime ${month}/${date}/${year} ${time}
type Meeting_endDateTime ${month}/${date}/${year} ${time15}
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //a[@id='header-calendar-link']
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='CombinedCalendarView']/div/h1 Calendar
click //div[@id='my-calendars-list']/ul/li[2]/label
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //div[@id='my-calendars-list']/ul/li[1]/label
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Meeting Created On ${month}/${date}/${year}
open index.php/accounts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Create
verifyTextPresent Advanced
type AccountsSearchForm_anyMixedAttributes Test Account ${randomSuffix}
keyUp AccountsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a Test Account ${randomSuffix}
verifyTextPresent Test Account ${randomSuffix}
clickAndWait link=Test Account ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Test Account ${randomSuffix}
click //div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[1]/div[1]/div/div/div/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Meeting
type Meeting_name Meeting Starts On ${month}/${date}/${year}
type Meeting_startDateTime ${month}/${date}/${year} ${time}
type Meeting_endDateTime ${month}/${date}/${year} ${time15}
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //a[@id='header-calendar-link']
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='CombinedCalendarView']/div/h1 Calendar
click //div[@id='my-calendars-list']/ul/li[1]/ul/li/ul/li[1]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent SavedCalendar_startAttributeName_value
select SavedCalendar_startAttributeName_value label=Created Date Time
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Meeting Starts On ${month}/${date}/${year}
open index.php/accounts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Create
verifyTextPresent Advanced
type AccountsSearchForm_anyMixedAttributes Test Account ${randomSuffix}
keyUp AccountsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a Test Account ${randomSuffix}
verifyTextPresent Test Account ${randomSuffix}
clickAndWait link=Test Account ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Test Account ${randomSuffix}
click //div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[1]/div[1]/div/div/div/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Meeting
type Meeting_name Meeting Ends On ${month}/${date}/${year}
type Meeting_startDateTime ${month}/1/${year} ${time}
type Meeting_endDateTime ${month}/27/${year} ${time15}
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //a[@id='header-calendar-link']
click //a[@id='header-calendar-link']
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='CombinedCalendarView']/div/h1 Calendar
click //div[@id='my-calendars-list']/ul/li[1]/ul/li/ul/li[1]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent SavedCalendar_startAttributeName_value
select SavedCalendar_startAttributeName_value label=End Time
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/accounts/default?clearSearching=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 0