SelectBirthdayTest
open /web/guest/home/
waitForElementPresent link=Joe Bloggs
clickAtAndWait link=Joe Bloggs
pause 5000
waitForVisible _2_birthdayMonth
clickAt _2_birthdayMonth Birthday Month
select _2_birthdayMonth label=March
waitForSelectedLabel _2_birthdayMonth March
select _2_birthdayYear label=1986
waitForSelectedLabel _2_birthdayYear 1986
clickAt //button
waitForVisible //div[2]/div/div[1]/div/div
pause 5000
clickAt link=Prev
waitForPartialText //div[@class='aui-calendar-title'] April 1986
clickAt link=Prev
waitForPartialText //div[@class='aui-calendar-title'] May 1986
waitForVisible link=31
clickAt link=31
waitForNotVisible //div[@class='aui-calendar-title']
assertSelectedLabel _2_birthdayMonth May
assertSelectedLabel _2_birthdayDay 31
assertSelectedLabel _2_birthdayYear 1986
clickAtAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
waitForSelectedLabel _2_birthdayMonth May
waitForSelectedLabel _2_birthdayDay 31
waitForSelectedLabel _2_birthdayYear 1986
assertSelectedLabel _2_birthdayMonth May
assertSelectedLabel _2_birthdayDay 31
assertSelectedLabel _2_birthdayYear 1986