| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| echo |
-- Incomming list |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| waitForElementPresent |
link=Find People |
|
| clickAndWait |
link=Find People |
|
| echo |
-- Send invitation to a user : Jame |
|
| waitForElementPresent |
//div[contains(text(),'james.davis@acme.exoplatform.com')]/following-sibling::ul//a[@title='Invite'] |
|
| click |
//div[contains(text(),'james.davis@acme.exoplatform.com')]/following-sibling::ul//a[@title='Invite'] |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| echo |
-- Check Invitation is in the Incomming list of invited user |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
james |
| type |
password |
gtn |
| clickAndWait |
id=UIPortalLoginFormAction |
|
| waitForElementPresent |
link=My Network |
|
| clickAndWait |
link=My Network |
|
| waitForElementPresent |
link=Received Invitations |
|
| clickAndWait |
link=Received Invitations |
|
| waitForElementPresent |
link=Jack Miller |
|
| verifyElementPresent |
link=Jack Miller |
|
| waitForElementPresent |
//a[text()='Jack Miller']/following-sibling::ul//a[@title='Accept'] |
|
| verifyElementPresent |
//a[text()='Jack Miller']/following-sibling::ul//a[@title='Accept'] |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| echo |
-- Remove Invitaion |
|
| open |
/portal/public/intranet/ |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Connections |
|
| click |
link=Connections |
|
| waitForElementPresent |
link=Outgoing |
|
| click |
link=Outgoing |
|
| pause |
500 |
|
| waitForElementPresent |
link=Mary Kelly |
|
| verifyElementPresent |
link=Mary Kelly |
|
| click |
//div[@id='UIPendingRelation']/div/div/div[3]/div[2]/div/a |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|