AddWeeklyRepeatingEventTest
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
clickAt //td[1]/input[3]
waitForElementPresent _8_weeklyInterval
type _8_weeklyInterval 1
clickAt _8_weeklyDayPos5
clickAt //td[2]/table/tbody/tr/td/input[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 link=8
clickAtAndWait link=8
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
select //select label=2009
waitForElementPresent link=15
clickAtAndWait link=15
assertElementPresent link=Repeating Test Event
clickAtAndWait link=Year
waitForVisible //select
select //select label=2009
waitForElementPresent link=16
clickAtAndWait link=16
assertElementNotPresent link=Repeating Test Event