| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Calendar Test Page |
|
| clickAtAndWait |
//input[@value='Add Event'] |
|
| select |
_8_startDateMonth |
label=January |
| select |
_8_startDateDay |
label=1 |
| select |
_8_startDateYear |
label=2010 |
| type |
_8_title |
Yearly Date Repeating Event |
| clickAt |
//input[@name='_8_recurrenceType' and @value='6'] |
|
| waitForElementPresent |
_8_yearlyType |
|
| clickAt |
_8_yearlyType |
|
| select |
_8_yearlyMonth0 |
label=February |
| type |
_8_yearlyDay0 |
4 |
| type |
_8_yearlyInterval0 |
1 |
| clickAt |
//td[2]/table/tbody/tr/td/input[2] |
|
| select |
_8_endDateMonth |
label=January |
| select |
_8_endDateDay |
label=1 |
| select |
_8_endDateYear |
label=2013 |
| clickAtAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Events |
|
| clickAtAndWait |
link=Yearly Date Repeating Event |
|
| assertText |
//table[@class='lfr-table']/tbody/tr[1]/td[2] |
1/1/10 |
| assertText |
//table[@class='lfr-table']/tbody/tr[4]/td[2] |
Yearly Date Repeating Event |
| assertText |
//table[@class='lfr-table']/tbody/tr[8]/td[2] |
The Fourth of February of every 1 year(s) |
| assertText |
//table[@class='lfr-table']/tbody/tr[9]/td[2] |
1/1/13 |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Events |
|
| clickAt |
//strong/span |
|
| waitForElementPresent |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
|
| clickAtAndWait |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
|
| assertSelectedLabel |
_8_startDateMonth |
January |
| assertSelectedLabel |
_8_startDateDay |
1 |
| assertSelectedLabel |
_8_startDateYear |
2010 |
| assertValue |
_8_title |
Yearly Date Repeating Event |
| assertChecked |
//input[@name='_8_recurrenceType' and @value='6'] |
|
| waitForElementPresent |
_8_yearlyType |
|
| assertChecked |
_8_yearlyType |
|
| assertSelectedLabel |
_8_yearlyMonth0 |
February |
| assertValue |
_8_yearlyDay0 |
4 |
| assertValue |
_8_yearlyInterval0 |
1 |
| assertChecked |
//td[2]/table/tbody/tr/td/input[2] |
|
| assertSelectedLabel |
_8_endDateMonth |
January |
| assertSelectedLabel |
_8_endDateDay |
1 |
| assertSelectedLabel |
_8_endDateYear |
2013 |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Year |
|
| select |
//select |
label=2010 |
| waitForElementPresent |
//a[contains(@href, 'javascript:_8_updateCalendar(1, 4, 2010);')] |
|
| clickAtAndWait |
//a[contains(@href, 'javascript:_8_updateCalendar(1, 4, 2010);')] |
|
| assertText |
//div[3]/a |
Yearly Date Repeating Event |
| clickAtAndWait |
link=Year |
|
| selectAndWait |
//select |
label=2011 |
| waitForElementPresent |
//a[contains(@href, 'javascript:_8_updateCalendar(1, 4, 2011);')] |
|
| clickAtAndWait |
//a[contains(@href, 'javascript:_8_updateCalendar(1, 4, 2011);')] |
|
| assertText |
//div[3]/a |
Yearly Date Repeating Event |
| clickAtAndWait |
link=Year |
|
| select |
//select |
label=2011 |
| waitForElementPresent |
//a[contains(@href, 'javascript:_8_updateCalendar(2, 4, 2011);')] |
|
| clickAtAndWait |
//a[contains(@href, 'javascript:_8_updateCalendar(2, 4, 2011);')] |
|
| assertElementNotPresent |
link=Yearly Date Repeating Event |
|