AddYearlyDateRepeatingEventTest
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 //input[@name='_8_recurrenceType' and @value='6']
clickAt //input[@name='_8_recurrenceType' and @value='6']
waitForElementPresent _8_yearlyType
clickAt _8_yearlyType
select _8_yearlyMonth0 label=January
type _8_yearlyDay0 1
type _8_yearlyInterval0 1
clickAt //td[2]/table/tbody/tr/td/input[2]
select _8_endDateMonth label=January
select _8_endDateDay label=1
select _8_endDateYear label=2013
clickAtAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
waitForVisible link=Year
clickAtAndWait link=Year
waitForVisible //select
select //select label=2009
waitForElementPresent //td[5]/a
clickAtAndWait //td[5]/a
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
selectAndWait //select label=2010
waitForElementPresent //td[6]/a
clickAtAndWait //td[6]/a
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
select //select label=2010
waitForElementPresent //tr[3]/td[2]/a/span
clickAtAndWait //tr[3]/td[2]/a/span
assertElementNotPresent link=Repeating Test Event