| open |
/csdemo |
|
| windowMaximize |
|
|
| echo |
-Check Mail Reminder- |
|
| echo |
-- Login |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| echo |
-- Add Event |
|
| waitForElementPresent |
link=Agenda |
|
| clickAndWait |
link=Agenda |
|
| waitForElementPresent |
link=Event |
|
| click |
link=Event |
|
| waitForElementPresent |
eventName |
|
| type |
eventName |
Test_CS10_Event |
| type |
//div[@class='FormContainer']//textarea[@id='description'] |
Test_CS10_Event_description |
| echo |
-- More Details |
|
| waitForElementPresent |
link=More Details |
|
| click |
link=More Details |
|
| echo |
-- Reminders |
|
| waitForElementPresent |
//div[text()='Reminders'] |
|
| click |
//div[text()='Reminders'] |
|
| echo |
-- Add more |
|
| waitForElementPresent |
css=a[title="Add More"] > img.AddNewNodeIcon |
|
| click |
css=a[title="Add More"] > img.AddNewNodeIcon |
|
| echo |
-- Select Demo gtn |
|
| waitForElementPresent |
//div[@class='AddressContainer']//tbody/tr[4] |
|
| click |
//div[@class='AddressContainer']//tbody/tr[4]//input |
|
| echo |
-- click Add |
|
| waitForElementPresent |
link=Add |
|
| click |
link=Add |
|
| echo |
-- Close |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| echo |
-- Save |
|
| waitForElementPresent |
css=div.HorizontalLayout > div.UIAction > a.ActionButton.LightBlueStyle |
|
| click |
css=div.HorizontalLayout > div.UIAction > a.ActionButton.LightBlueStyle |
|
| echo |
-- Save and Send |
|
| waitForElementPresent |
link=Save and Send |
|
| click |
link=Save and Send |
|
| echo |
-- Search for and Delete Event |
|
| waitForElementPresent |
value |
|
| type |
value |
Test_CS10_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? |
|
| echo |
-- Sign out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|