| echo |
- Sign in |
|
| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/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=Sign out |
|
| waitForTextPresent |
Sign in |
|
| echo |
- End of test |
|