| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| waitForElementPresent |
link=Directory |
|
| clickAndWait |
link=Directory |
|
| echo |
-- Send invitation to a user (Mary) |
|
| waitForElementPresent |
//a[text()='Mary Kelly']/following::ul//a[@title='Invite'] |
|
| click |
//a[text()='Mary Kelly']/following::ul//a[@title='Invite'] |
|
| waitForElementPresent |
//a[text()='Mary Kelly']/following::ul//a[@title='Cancel'] |
|
| verifyElementPresent |
//a[text()='Mary Kelly']/following::ul//a[@title='Cancel'] |
|
| echo |
-- Check Outgoing list-- |
|
| waitForElementPresent |
link=Connections |
|
| click |
link=Connections |
|
| waitForElementPresent |
link=Pending Requests |
|
| clickAndWait |
link=Pending Requests |
|
| waitForElementPresent |
link=Mary Kelly |
|
| verifyElementPresent |
link=Mary Kelly |
|
| echo |
-- Cancel invitation-- |
|
| waitForElementPresent |
//a[text()='Mary Kelly']/following::ul//a[@title='Cancel'] |
|
| click |
//a[text()='Mary Kelly']/following::ul//a[@title='Cancel'] |
|
| waitForElementNotPresent |
link=Mary Kelly |
|
| verifyElementNotPresent |
link=Mary Kelly |
|
| echo |
-- Sign out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|