AddWeeklyRepeatingEventTest
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[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.
clickAtAndWait link=Year
select //select label=2009
waitForElementPresent link=8
clickAtAndWait link=8
assertText //td[2]/a Repeating Test Event
clickAtAndWait link=Year
select //select label=2009
waitForElementPresent link=15
clickAtAndWait link=15
assertText //td[2]/a Repeating Test Event
clickAtAndWait link=Year
select //select label=2009
waitForElementPresent link=16
clickAtAndWait link=16
assertElementNotPresent link=Repeating Test Event