| open |
/portal/intranet/ |
|
| windowMaximize |
|
|
| echo |
-Manage calendar group- |
|
| echo |
-- Login |
|
| waitForElementPresent |
//b[contains(text(),'Sign in')] |
|
| click |
//b[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| echo |
-- Agenda |
|
| waitForElementPresent |
link=Agenda |
|
| click |
link=Agenda |
|
| echo |
-- Click Calendar Action |
|
| waitForElementPresent |
//div[@title='Calendar Actions'] |
|
| click |
//div[@title='Calendar Actions'] |
|
| echo |
-- Add Canlendar |
|
| waitForElementPresent |
//div[@title='Calendar Actions'] |
|
| click |
//div[@title='Calendar Actions'] |
|
| waitForElementPresent |
//a[contains(text(),'Add Calendar')] |
|
| click |
//a[contains(text(),'Add Calendar')] |
|
| waitForElementPresent |
displayName |
|
| type |
displayName |
MyCalendar 03 |
| type |
//div[@id='calendarDetail']//textarea[@id='description'] |
Test_03_calendar_description |
| echo |
-- Select GROUP tab |
|
| waitForElementPresent |
//div[text()='Groups'] |
|
| click |
//div[text()='Groups'] |
|
| echo |
-- Tick Administrators group |
|
| waitForElementPresent |
name=/platform/administrators |
|
| click |
name=/platform/administrators |
|
| echo |
-- Tick Users group |
|
| click |
name=/platform/users |
|
| echo |
-- Tick Web-contributors group |
|
| click |
name=/platform/web-contributors |
|
| echo |
-- Tick Employees group |
|
| click |
name=/organization/employees |
|
| echo |
-- Tick Executive-board group |
|
| click |
name=/organization/management/executive-board |
|
| echo |
-- Save |
|
| click |
css=div.HorizontalLayout > div.UIAction > a.ActionButton.LightBlueStyle |
|
| echo |
-- Verify MyCalendar 03 diplays in Executive-board group |
|
| waitForElementPresent |
//ul[1]//a[@title='MyCalendar 03'] |
|
| verifyVisible |
//ul[1]//a[@title='MyCalendar 03'] |
|
| echo |
-- Verify MyCalendar 03 diplays in Employees group |
|
| waitForElementPresent |
//ul[2]//a[@title='MyCalendar 03'] |
|
| verifyVisible |
//ul[2]//a[@title='MyCalendar 03'] |
|
| echo |
-- Verify MyCalendar 03 diplays in Web-contributors group |
|
| waitForElementPresent |
//ul[3]//a[@title='MyCalendar 03'] |
|
| verifyVisible |
//ul[3]//a[@title='MyCalendar 03'] |
|
| echo |
-- Verify MyCalendar 03 diplays in Administrators group |
|
| waitForElementPresent |
//ul[4]//a[@title='MyCalendar 03'] |
|
| verifyVisible |
//ul[4]//a[@title='MyCalendar 03'] |
|
| echo |
-- Verify MyCalendar 03 diplays in Users group |
|
| waitForElementPresent |
//ul[5]//a[@title='MyCalendar 03'] |
|
| verifyVisible |
//ul[5]//a[@title='MyCalendar 03'] |
|
| echo |
-- Logout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|