| SelectBirthdayTodayTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=My Account | |
| clickAtAndWait | link=My Account | |
| clickAt | //img[@alt='...'] | |
| waitForVisible | ui-datepicker-div | |
| pause | 5000 | |
| clickAt | link=Today | |
| waitForNotVisible | ui-datepicker-div | |
| assertNotVisible | ui-datepicker-div | |
| storeCurrentDay | currentDay | |
| storeCurrentMonth | currentMonth | |
| storeCurrentYear | currentYear | |
| assertSelectedLabel | _2_birthdayMonth | ${currentMonth} |
| assertSelectedLabel | _2_birthdayDay | ${currentDay} |
| assertSelectedLabel | _2_birthdayYear | ${currentYear} |
| clickAtAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |
| assertSelectedLabel | _2_birthdayMonth | ${currentMonth} |
| assertSelectedLabel | _2_birthdayDay | ${currentDay} |
| assertSelectedLabel | _2_birthdayYear | ${currentYear} |