AddYearlyDayRepeatingEventTest
waitForElementPresent link=Calendar
clickAtAndWait link=Calendar
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 //div[5]/table/tbody/tr/td/input[4]
clickAt //div[5]/table/tbody/tr/td/input[4]
select _8_yearlyPos label=Second
select _8_yearlyDay1 label=Monday
select _8_yearlyMonth1 label=February
type _8_yearlyInterval1 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[3]/div/table/tbody/tr[4]/td[2]/a
clickAtAndWait //td[3]/div/table/tbody/tr[4]/td[2]/a
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
selectAndWait //select label=2010
waitForElementPresent //tr[3]/td[2]/a
clickAtAndWait //tr[3]/td[2]/a
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
select //select label=2010
waitForElementPresent //td[5]/div/table/tbody/tr[4]/td[2]/a/span
clickAtAndWait //td[5]/div/table/tbody/tr[4]/td[2]/a/span
assertElementNotPresent link=Repeating Test Event