AddDailyRepeatingEventTest
waitForElementPresent link=Calendar
clickAtAndWait link=Calendar
waitForVisible link=Events
clickAtAndWait link=Events
pause 5000
waitForVisible //td[5]/ul/li/strong/span
clickAt //td[5]/ul/li/strong/span
waitForElementPresent //div[5]/ul/li[1]/a
clickAtAndWait //div[5]/ul/li[1]/a
waitForVisible //td[1]/input[2]
clickAt //td[1]/input[2]
waitForElementPresent _8_dailyType
clickAt _8_dailyType
type _8_dailyInterval 1
clickAt //input[@name='_8_endDateType' and @value='2']
select _8_endDateMonth label=January
select _8_endDateDay label=1
select _8_endDateYear label=2010
clickAtAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
waitForVisible link=Year
clickAtAndWait link=Year
waitForVisible //select
select //select label=2009
waitForElementPresent //tr[8]/td[1]/a/span
clickAtAndWait //tr[8]/td[1]/a/span
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
select //select label=2009
waitForElementPresent //tr[2]/td[5]/div/table/tbody/tr[3]/td[2]/a
clickAtAndWait //tr[2]/td[5]/div/table/tbody/tr[3]/td[2]/a
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
selectAndWait //select label=2010
waitForElementPresent //tr[8]/td[2]/a/span
clickAtAndWait //tr[8]/td[2]/a/span
assertElementNotPresent link=Repeating Test Event