SelectBirthdayTest
open /web/guest/home/
waitForElementPresent link=Joe Bloggs
clickAtAndWait link=Joe Bloggs
pause 5000
waitForVisible _2_birthdayMonth
select _2_birthdayMonth label=April
waitForSelectedLabel _2_birthdayMonth April
select _2_birthdayYear label=1986
waitForSelectedLabel _2_birthdayYear 1986
clickAt //button
waitForVisible //div[2]/div/div[1]/div/div
pause 5000
clickAt link=Prev
waitForVisible link=31
clickAt link=31
waitForNotVisible //div[2]/div/div[1]/div/div
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