| open |
/csdemo |
|
| windowMaximize |
|
|
| echo |
-Add event in Mail- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Mail |
|
| click |
link=Mail |
|
| pause |
10000 |
|
| echo |
-- Add event in Mail |
|
| click |
//div[@id='MailWorkingWorkspace']/div[1]/div//div[5]/div |
|
| waitForElementPresent |
eventName |
|
| type |
eventName |
Event_Test39 |
| type |
description |
Event for Test 39 |
| type |
place |
Hanoi |
| click |
link=Save |
|
| echo |
-- Goto Calendar to check added event |
|
| clickAndWait |
link=Agenda |
|
| echo |
-- Search event |
|
| waitForElementPresent |
value |
|
| type |
value |
Event_Test39 |
| click |
//form[@id='UISearchForm']//div[@title='Search'] |
|
| waitForElementPresent |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| click |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| waitForTextPresent |
Event_Test39 |
|
| verifyTextPresent |
Event_Test39 |
|
| pause |
1000 |
|
| echo |
-- Delete Event |
|
| waitForElementPresent |
//table[@id='RowContainerDay']//div[@class='IconHolder DeleteEventIcon'] |
|
| click |
//table[@id='RowContainerDay']//div[@class='IconHolder DeleteEventIcon'] |
|
| assertConfirmation |
Are you sure to delete this event/task? |
|
| waitForElementNotPresent |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| verifyElementNotPresent |
//div[@class='UIListView SpliterResizableListArea']//tr[@class='UIListViewRow'] |
|
| clickAndWait |
link=Sign out |
|
| close |
|
|