| 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 |
//fieldset[2]/div/div/div/span[2]/span/span/input |
|
| 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 |
//div[@class='aui-layout event']/div[1]/h3 |
Yearly Date Repeating Event |
| assertText |
//dl[@class='property-list']/dd[1] |
1/1/10 |
| assertText |
//dl[@class='property-list']/dd[2] |
1/1/13 |
| assertText |
//dl[@class='property-list']/dd[5] |
The Fourth of February of every 1 year(s) |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Calendar Test Page |
|
| clickAtAndWait |
link=Events |
|
| clickAt |
//td[5]/ul/li/strong/a |
|
| waitForElementPresent |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
|
| clickAndWait |
//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 |
//fieldset[2]/div/div/div/span[2]/span/span/input |
|
| 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);')] |
|
| assertElementPresent |
link=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);')] |
|
| assertElementPresent |
link=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 |
|