| 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 |
john |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/portal/private/intranet/contact |
|
| pause |
10000 |
|
| echo |
-Share Address Book- |
|
| echo |
-- Share a contact |
|
| waitForElementPresent |
//div[@id='defaultjohn']/div |
|
| clickAt |
//div[@id='defaultjohn']/div |
|
| clickAt |
//input[@value='4'] |
|
| clickAt |
//a[7]/div |
|
| waitForElementPresent |
user |
|
| type |
user |
root |
| click |
canEdit |
|
| click |
link=Save |
|
| type |
user |
demo |
| click |
link=Save |
|
| click |
link=Close |
|
| waitForElementPresent |
//div[@class='State SharedContact'] |
|
| clickAt |
link=Logout |
|
| echo |
-- Login by root to check shared contact |
|
| open |
/portal/public/intranet |
|
| 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/contact |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Shared |
|
| clickAt |
link=Shared |
|
| waitForElementPresent |
link=John Smith |
|
| clickAt |
link=Logout |
|
| echo |
-- Login by demo to check shared address book |
|
| open |
/portal/public/intranet |
|
| 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 |
demo |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/portal/private/intranet/contact |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Shared |
|
| clickAt |
link=Shared |
|
| waitForElementPresent |
link=John Smith |
|
| clickAt |
link=Logout |
|
| echo |
-- Login by john to remove share contact |
|
| open |
/portal/public/intranet |
|
| 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 |
john |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/portal/private/intranet/contact |
|
| pause |
10000 |
|
| waitForElementPresent |
//div[@id='defaultjohn']/div |
|
| clickAt |
//div[@id='defaultjohn']/div |
|
| clickAt |
//input[@value='4'] |
|
| clickAt |
//a[7]/div |
|
| waitForElementPresent |
//img[@alt='Delete'] |
|
| clickAt |
//img[@alt='Delete'] |
|
| assertConfirmation |
Are you sure you want to remove this permission ? |
|
| clickAt |
//img[@alt='Delete'] |
|
| assertConfirmation |
Are you sure you want to remove this permission ? |
|
| clickAndWait |
link=Logout |
|
| close |
|
|