| open |
/csdemo |
|
| windowMaximize |
|
|
| echo |
-Resize Event- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| pause |
5000 |
|
| echo |
-- Add Event |
|
| waitForElementPresent |
link=Agenda |
|
| click |
link=Agenda |
|
| waitForElementPresent |
link=Event |
|
| click |
link=Event |
|
| waitForElementPresent |
eventName |
|
| type |
eventName |
Test_CS17_Event |
| type |
//div[@class='FormContainer']//textarea[@id='description'] |
Test_CS17_Event_description |
| click |
link=Save |
|
| waitForTextPresent |
Test_CS17_Event |
|
| verifyTextPresent |
Test_CS17_Event |
|
| echo |
Resize event |
|
| dragAndDropToObject |
//div[@class='ResizeEventContainer'] |
//div/div[2]/div//div[2]/div//div[2]/div//div[2]/div//div[2]/div[2]/div[2]/form/div[3]/div[2]/div[2]/table//tr[25]/td[2] |
| echo |
-- Search for and Delete Event |
|
| waitForElementPresent |
value |
|
| type |
value |
Test_CS17_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 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 |
|
|