| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
//div[contains(text(),'Sign in')] |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/portal/private/intranet/wiki |
|
| echo |
- Create page |
|
| waitForElementPresent |
link=Blank Page |
|
| click |
link=Blank Page |
|
| waitForElementPresent |
TitleInput |
|
| type |
TitleInput |
Page1_SNF_KS_64 |
| waitForElementPresent |
Markup |
|
| type |
Markup |
Page1 Content |
| clickAndWait |
link=Save |
|
| waitForTextPresent |
Page1_SNF_KS_64 |
|
| verifyTextPresent |
Page1_SNF_KS_64 |
|
| waitForTextPresent |
Page1 Content |
|
| verifyTextPresent |
Page1 Content |
|
| echo |
- Watch page |
|
| waitForElementPresent |
//div[@id='UIWikiPageControlArea_PageToolBar_More_'] |
|
| mouseOver |
//div[@id='UIWikiPageControlArea_PageToolBar_More_'] |
|
| waitForElementPresent |
link=Watch |
|
| click |
link=Watch |
|
| verifyTextPresent |
You started watching this page now. |
|
| waitForElementPresent |
//div[@id='UIWikiPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIWikiPortlet']//a[text()='OK'] |
|
| echo |
- Stop watching page |
|
| waitForElementPresent |
//div[@id='UIWikiPageControlArea_PageToolBar_More_'] |
|
| mouseOver |
//div[@id='UIWikiPageControlArea_PageToolBar_More_'] |
|
| waitForElementPresent |
link=Stop Watching |
|
| click |
link=Stop Watching |
|
| verifyTextPresent |
You stopped watching this page now. |
|
| waitForElementPresent |
//div[@id='UIWikiPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIWikiPortlet']//a[text()='OK'] |
|
| echo |
- Delete test data |
|
| waitForElementPresent |
link=Delete Page |
|
| clickAt |
link=Delete Page |
|
| waitForElementPresent |
//div[@id='UIWikiPageArea']//a[text()='OK'] |
|
| clickAndWait |
//div[@id='UIWikiPageArea']//a[text()='OK'] |
|
| waitForTextNotPresent |
Page1_SNF_KS_64 |
|
| verifyTextNotPresent |
Page1_SNF_KS_64 |
|
| echo |
- Sign out and finish |
|
| clickAndWait |
link=Logout |
|
| waitForTextPresent |
Sign in |
|
| echo |
- End of test |
|