| open |
/portal/public/intranet |
|
| windowMaximize |
|
|
| waitForElementPresent |
//div[2]/div[2]/div[1]/div/div/div[1] |
|
| click |
//div[2]/div[2]/div[1]/div/div/div[1] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/portal/private/intranet/calendar |
|
| pause |
10000 |
|
| echo |
-Drag and Drop Event- |
|
| echo |
-- Add Event |
|
| waitForElementPresent |
link=Event |
|
| click |
link=Event |
|
| waitForElementPresent |
eventName |
|
| type |
eventName |
Test_CS16_Event |
| type |
//div[@class='FormContainer']//textarea[@id='description'] |
Test_CS16_Event_description |
| click |
//div[@id='QuickAddEventContainer']//div[@class='ButtonRight'] |
|
| waitForTextPresent |
Test_CS16_Event |
|
| verifyTextPresent |
Test_CS16_Event |
|
| dragAndDropToObject |
//div[@class='EventContainerBar EventTitle'] |
//div[@id='UICalendarViewContainer']//table/tbody/tr[25]/td[6] |
| echo |
-- Search for and Delete Event |
|
| waitForElementPresent |
value |
|
| type |
value |
Test_CS16_Event |
| click |
//form[@id='UISearchForm']//div[@title='Search'] |
|
| waitForElementPresent |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| click |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| waitForElementPresent |
//table[@id='RowContainerDay']//div[@class='IconHolder DeleteEventIcon'] |
|
| click |
//table[@id='RowContainerDay']//div[@class='IconHolder DeleteEventIcon'] |
|
| assertConfirmation |
Are you sure you want to delete? |
|
| waitForElementNotPresent |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| verifyElementNotPresent |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| clickAtAndWait |
link=Logout |
|
| close |
|
|