| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| waitForElementPresent |
link=Activities |
|
| click |
link=Activities |
|
| waitForElementPresent |
link=My Status |
|
| click |
link=My Status |
|
| pause |
1000 |
|
| 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=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- View other user activities |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| waitForElementPresent |
link=Directory |
|
| clickAndWait |
link=Directory |
|
| waitForElementPresent |
link=Demo gtn |
|
| clickAndWait |
link=Demo gtn |
|
| waitForElementPresent |
link=Activity |
|
| clickAndWait |
link=Activity |
|
| waitForTextPresent |
This is activity for User_Demo_25 |
|
| verifyTextPresent |
This is activity for User_Demo_25 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
--Delete Activity |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| waitForElementPresent |
link=Activities |
|
| clickAndWait |
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 |
|
| waitForElementPresent |
//h5/span |
|
| click |
//h5/span |
|
| assertConfirmation |
Are you sure to delete this activity? |
|
| waitForTextNotPresent |
This is activity for User_Demo_25 |
|
| verifyTextNotPresent |
This is activity for User_Demo_25 |
|
| echo |
-- Sign out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|