| 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'] |
|
| waitForTextPresent |
[Invited to connect] |
|
| verifyTextPresent |
[Invited to connect] |
|
| echo |
-- Check Outgoing list-- |
|
| waitForElementPresent |
link=Connections |
|
| click |
link=Connections |
|
| waitForElementPresent |
link=Outgoing |
|
| click |
link=Outgoing |
|
| pause |
500 |
|
| waitForElementPresent |
link=Mary Kelly |
|
| verifyElementPresent |
link=Mary Kelly |
|
| echo |
--Revoke invitation-- |
|
| waitForElementPresent |
//div[@id='UIPendingRelation']/div/div/div[3]/div[2]/div/a |
|
| click |
//div[@id='UIPendingRelation']/div/div/div[3]/div[2]/div/a |
|
| waitForElementNotPresent |
link=Mary Kelly |
|
| verifyElementNotPresent |
link=Mary Kelly |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|