| 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 from toolbar action |
|
| waitForElementPresent |
//a[@title='Blank page'] |
|
| click |
//a[@title='Blank page'] |
|
| waitForElementPresent |
TitleInput |
|
| type |
TitleInput |
Page1_SMOKE_KS_04 |
| waitForElementPresent |
Markup |
|
| type |
Markup |
Page1 Content |
| clickAndWait |
//a[@title='Save'] |
|
| waitForElementPresent |
link=Page1_SMOKE_KS_04 |
|
| waitForTextPresent |
Page1 Content |
|
| verifyTextPresent |
Page1 Content |
|
| echo |
- Create a parent page and a child page |
|
| waitForElementPresent |
link=Wiki Home |
|
| clickAndWait |
link=Wiki Home |
|
| waitForTextPresent |
Welcome to Wiki Home of classic portal. |
|
| verifyTextPresent |
Welcome to Wiki Home of classic portal. |
|
| waitForElementPresent |
//a[@title='Blank page'] |
|
| click |
//a[@title='Blank page'] |
|
| waitForElementPresent |
TitleInput |
|
| type |
TitleInput |
Page2_SMOKE_KS_04 |
| waitForElementPresent |
Markup |
|
| type |
Markup |
This page has a [[child page]] |
| clickAndWait |
//a[@title='Save'] |
|
| waitForElementPresent |
link=Page2_SMOKE_KS_04 |
|
| waitForTextPresent |
This page has a |
|
| verifyTextPresent |
This page has a |
|
| echo |
- Click link child page |
|
| waitForElementPresent |
//div[@id='UIWikiPageContentArea']//a/span |
|
| clickAndWait |
//div[@id='UIWikiPageContentArea']//a/span |
|
| waitForElementPresent |
Markup |
|
| type |
Markup |
this is child page |
| clickAndWait |
//a[@title='Save'] |
|
| echo |
- View Page |
|
| open |
/ksdemo/private/classic/wiki/WikiHome |
|
| waitForElementPresent |
link=Page1_SMOKE_KS_04 |
|
| clickAndWait |
link=Page1_SMOKE_KS_04 |
|
| waitForElementPresent |
TitleInfo |
|
| verifyTextPresent |
Page1_SMOKE_KS_04 |
|
| waitForTextPresent |
Page1 Content |
|
| verifyTextPresent |
Page1 Content |
|
| echo |
- Edit page |
|
| waitForElementPresent |
//a[@title='Edit'] |
|
| clickAndWait |
//a[@title='Edit'] |
|
| waitForElementPresent |
TitleInput |
|
| type |
TitleInput |
Page1_SMOKE_KS_04_Edited |
| waitForElementPresent |
Markup |
|
| type |
Markup |
Page1 Content Edited |
| clickAndWait |
//a[@title='Save'] |
|
| waitForElementPresent |
TitleInfo |
|
| verifyTextPresent |
Page1_SMOKE_KS_04_Edited |
|
| waitForTextPresent |
Page1 Content Edited |
|
| verifyTextPresent |
Page1 Content Edited |
|
| echo |
- Search Page |
|
| open |
/ksdemo/private/classic/wiki/WikiHome |
|
| waitForElementPresent |
wikiSearchValue |
|
| type |
wikiSearchValue |
|
| typeKeys |
wikiSearchValue |
page1 |
| waitForElementPresent |
link=Seach for 'page1' |
|
| click |
link=Seach for 'page1' |
|
| waitForTextPresent |
Page1_SMOKE_KS_04_Edited |
|
| verifyTextPresent |
Page1_SMOKE_KS_04_Edited |
|
| clickAndWait |
//div[@id='UIWikiAdvanceSearchResult']/div[2]/a |
|
| waitForTextPresent |
Page1 Content Edited |
|
| verifyTextPresent |
Page1 Content Edited |
|
| echo |
- Clean test data |
|
| open |
/ksdemo/private/classic/wiki/WikiHome |
|
| waitForElementPresent |
link=Page1_SMOKE_KS_04_Edited |
|
| click |
link=Page1_SMOKE_KS_04_Edited |
|
| waitForElementPresent |
link=Delete |
|
| clickAt |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIWikiPageArea']/div/div[2]/table/tbody/tr/td[1]/div/div/div/div/a |
|
| clickAndWait |
//div[@id='UIWikiPageArea']/div/div[2]/table/tbody/tr/td[1]/div/div/div/div/a |
|
| waitForTextNotPresent |
Page1 |
|
| verifyTextNotPresent |
Page1 |
|
| waitForElementPresent |
link=Page2_SMOKE_KS_04 |
|
| click |
link=Page2_SMOKE_KS_04 |
|
| waitForElementPresent |
link=Delete |
|
| clickAt |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIWikiPageArea']/div/div[2]/table/tbody/tr/td[1]/div/div/div/div/a |
|
| clickAndWait |
//div[@id='UIWikiPageArea']/div/div[2]/table/tbody/tr/td[1]/div/div/div/div/a |
|
| waitForTextNotPresent |
Page2 |
|
| verifyTextNotPresent |
Page2 |
|
| open |
/ksdemo/private/classic/wiki/child_page |
|
| waitForTextPresent |
this is child page |
|
| waitForElementPresent |
link=Delete |
|
| clickAt |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIWikiPageArea']/div/div[2]/table/tbody/tr/td[1]/div/div/div/div/a |
|
| clickAndWait |
//div[@id='UIWikiPageArea']/div/div[2]/table/tbody/tr/td[1]/div/div/div/div/a |
|
| waitForTextNotPresent |
child page |
|
| verifyTextNotPresent |
child page |
|
| echo |
- Sign out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| echo |
- End of test |
|