AddDailyRepeatingEventTest
waitForElementPresent link=Calendar Test Page
clickAtAndWait link=Calendar Test Page
clickAtAndWait link=Events
clickAt //strong
waitForElementPresent //body/div[2]/ul/li[1]/a
clickAtAndWait //body/div[2]/ul/li[1]/a
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.
clickAtAndWait link=Year
select //select label=2009
waitForElementPresent //tr[8]/td[1]/a/span
clickAtAndWait //tr[8]/td[1]/a/span
assertText //div[2]/a Repeating Test Event
clickAtAndWait link=Year
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
assertText //div[2]/a Repeating Test Event
clickAtAndWait link=Year
selectAndWait //select label=2010
waitForElementPresent //tr[8]/td[2]/a/span
clickAtAndWait //tr[8]/td[2]/a/span
assertElementNotPresent link=Repeating Test Event