| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Directory |
|
| clickAndWait |
link=Directory |
|
| echo |
-- Send invitation to a user |
|
| waitForElementPresent |
//a[@title='Invite Mary Kelly'] |
|
| click |
//a[@title='Invite Mary Kelly'] |
|
| waitForElementPresent |
//a[@title='Invite John Anthony'] |
|
| click |
//a[@title='Invite John Anthony'] |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Accept Invitation |
|
| open |
/socialdemo/public/classic/ |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Connections |
|
| clickAndWait |
link=Connections |
|
| waitForElementPresent |
link=Incoming |
|
| click |
link=Incoming |
|
| pause |
500 |
|
| waitForElementPresent |
link=Root Root |
|
| verifyElementPresent |
link=Root Root |
|
| waitForElementPresent |
//a[@class='SelectIcon'] |
|
| click |
//a[@class='SelectIcon'] |
|
| echo |
-- Verify Accept successful |
|
| waitForElementPresent |
link=Network |
|
| click |
link=Network |
|
| pause |
500 |
|
| waitForElementPresent |
link=Root Root |
|
| verifyElementPresent |
link=Root Root |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Deny invitation-- |
|
| open |
/socialdemo/public/classic/ |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
john |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Connections |
|
| clickAndWait |
link=Connections |
|
| waitForElementPresent |
link=Incoming |
|
| click |
link=Incoming |
|
| pause |
500 |
|
| waitForElementPresent |
link=Root Root |
|
| verifyElementPresent |
link=Root Root |
|
| waitForElementPresent |
//a[@class='StopIcon'] |
|
| click |
//a[@class='StopIcon'] |
|
| echo |
-- Check Network list-- |
|
| waitForElementPresent |
link=Network |
|
| click |
link=Network |
|
| pause |
500 |
|
| waitForElementNotPresent |
link=Root Root |
|
| verifyElementNotPresent |
link=Root Root |
|
| echo |
-- Remove Friend |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| open |
/socialdemo/public/classic/ |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Connections |
|
| click |
link=Connections |
|
| pause |
500 |
|
| waitForElementPresent |
link=Mary Kelly |
|
| verifyElementPresent |
link=Mary Kelly |
|
| waitForElementPresent |
//a[@class='DeleteIcon'] |
|
| click |
//a[@class='DeleteIcon'] |
|
| waitForElementNotPresent |
link=Mary Kelly |
|
| verifyElementNotPresent |
link=Mary Kelly |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|