| open |
/portal |
|
| windowMaximize |
|
|
| echo |
-Copy and paste contacts- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
john |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
-- Copy a contact |
|
| waitForElementPresent |
link=Contacts |
|
| click |
link=Contacts |
|
| waitForElementPresent |
//div[@id='defaultjohn']/div |
|
| click |
//div[@id='defaultjohn']/div |
|
| click |
//input[@name='john'] |
|
| click |
//form[@id='UIContacts']/div[2]/a[6]/div |
|
| echo |
-- Patse Contact |
|
| click |
//div[@id='addressesjohn']/div |
|
| mouseOver |
//div[@title='Collected Addresses'] |
|
| contextMenu |
//div[@title='Collected Addresses'] |
|
| click |
link=Paste |
|
| click |
//div[@id='addressesjohn']/div |
|
| waitForElementPresent |
link=John Anthony |
|
| echo |
-- Delete the copied contact |
|
| click |
//input[@value='4'] |
|
| click |
//form[@id='UIContacts']/div[2]/a[4]/div |
|
| assertConfirmation |
Are you sure you want to delete this contact ? |
|
| clickAndWait |
link=Logout |
|
| close |
|
|