| 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 Day Repeating Event |
| clickAt |
//input[@name='_8_recurrenceType' and @value='6'] |
|
| waitForElementPresent |
//input[@name='_8_yearlyType' and @value='1'] |
|
| clickAt |
//input[@name='_8_yearlyType' and @value='1'] |
|
| select |
_8_yearlyPos |
label=Second |
| select |
_8_yearlyDay1 |
label=Monday |
| select |
_8_yearlyMonth1 |
label=February |
| type |
_8_yearlyInterval1 |
1 |
| clickAt |
//input[@name='_8_endDateType' and @value='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 |
|
| clickAndWait |
link=Yearly Day Repeating Event |
|
| assertText |
//div[@class='aui-layout event']/div[1]/h3 |
Yearly Day 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 Second Monday 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 Day Repeating Event |
| assertChecked |
//input[@name='_8_recurrenceType' and @value='6'] |
|
| waitForElementPresent |
//input[@name='_8_yearlyType' and @value='1'] |
|
| assertChecked |
//input[@name='_8_yearlyType' and @value='1'] |
|
| assertSelectedLabel |
_8_yearlyPos |
Second |
| assertSelectedLabel |
_8_yearlyDay1 |
Monday |
| assertSelectedLabel |
_8_yearlyMonth1 |
February |
| assertValue |
_8_yearlyInterval1 |
1 |
| assertChecked |
//input[@name='_8_endDateType' and @value='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, 8, 2010);')] |
|
| clickAtAndWait |
//a[contains(@href, 'javascript:_8_updateCalendar(1, 8, 2010);')] |
|
| assertElementPresent |
link=Yearly Day Repeating Event |
|
| clickAtAndWait |
link=Year |
|
| selectAndWait |
//select |
label=2011 |
| waitForElementPresent |
//a[contains(@href, 'javascript:_8_updateCalendar(1, 8, 2011);')] |
|
| clickAtAndWait |
//a[contains(@href, 'javascript:_8_updateCalendar(1, 8, 2011);')] |
|
| assertElementPresent |
link=Yearly Day Repeating Event |
|
| clickAtAndWait |
link=Year |
|
| select |
//select |
label=2011 |
| waitForElementPresent |
//a[contains(@href, 'javascript:_8_updateCalendar(2, 8, 2011);')] |
|
| clickAtAndWait |
//a[contains(@href, 'javascript:_8_updateCalendar(2, 8, 2011);')] |
|
| assertElementNotPresent |
link=Yearly Day Repeating Event |
|