| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| echo |
-- View Other User Activites |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Activities |
|
| click |
link=Activities |
|
| waitForElementPresent |
link=My Status |
|
| click |
link=My Status |
|
| pause |
2000 |
|
| echo |
-- Add Activites |
|
| type |
composerInput |
This is activity for User_Demo_25 |
| keyPress |
composerInput |
\13 |
| waitForElementPresent |
ShareButton |
|
| click |
ShareButton |
|
| echo |
-- Verify activity is added |
|
| waitForTextPresent |
|
This is activity for User_Demo_25 |
| verifyTextPresent |
|
This is activity for User_Demo_25 |
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| echo |
-- View other user activities |
|
| 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=Directory |
|
| click |
link=Directory |
|
| waitForElementPresent |
link=Demo gtn |
|
| clickAndWait |
link=Demo gtn |
|
| waitForElementPresent |
//div[@id='UIProfileNavigationPortlet']//a[@class='ActivityIcon'] |
|
| clickAndWait |
//div[@id='UIProfileNavigationPortlet']//a[@class='ActivityIcon'] |
|
| waitForTextPresent |
|
This is activity for User_Demo_25 |
| verifyTextPresent |
|
This is activity for User_Demo_25 |
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| echo |
--Delete Activity |
|
| open |
/portal/public/intranet/ |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Activities |
|
| click |
link=Activities |
|
| waitForElementPresent |
link=My Status |
|
| click |
link=My Status |
|
| waitForTextPresent |
|
This is activity for User_Demo_25 |
| verifyTextPresent |
|
This is activity for User_Demo_25 |
| echo |
--Delete User Activity |
|
| waitForElementPresent |
//div[2]/div/div[1]/div[2] |
|
| click |
//div[2]/div/div[1]/div[2] |
|
| assertConfirmation |
Are you sure to delete this activity? |
|
| waitForTextNotPresent |
This is activity for User_Demo_25 |
|
| verifyTextNotPresent |
This is activity for User_Demo_25 |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| close |
|
|