| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| click |
link=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 |
|
| echo |
-- Add Activites |
|
| type |
composerInput |
This is activity for User_Demo_23 |
| keyPress |
composerInput |
\13 |
| echo |
-- share link |
|
| waitForElementPresent |
//form[@id='UIComposer']/div[2]/div[2]/div/a |
|
| click |
//form[@id='UIComposer']/div[2]/div[2]/div/a |
|
| echo |
-- enter link |
|
| pause |
1000 |
|
| waitForElementPresent |
InputLink |
|
| type |
InputLink |
http://google.com |
| echo |
-- click attach button |
|
| waitForElementPresent |
AttachButton |
|
| click |
AttachButton |
|
| pause |
1000 |
|
| echo |
-- share all |
|
| waitForElementPresent |
ShareButton |
|
| click |
ShareButton |
|
| pause |
1000 |
|
| echo |
-- Verify activity is added |
|
| waitForTextPresent |
|
This is activity for User_Demo_23 |
| verifyTextPresent |
|
This is activity for User_Demo_23 |
| verifyElementPresent |
link=Google |
|
| verifyTextPresent |
|
Source : http://www.google.com |
| echo |
--Delete User Activity |
|
| waitForElementPresent |
//h5/span |
|
| click |
//h5/span |
|
| assertConfirmation |
Are you sure to delete this activity? |
|
| waitForTextNotPresent |
This is activity for User_Demo_23 |
|
| verifyTextNotPresent |
This is activity for User_Demo_23 |
|
| waitForTextNotPresent |
Source : http://www.google.com |
|
| verifyTextNotPresent |
Source : http://www.google.com |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|