| 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/forum |
|
| echo |
- Add Category for Search |
|
| waitForElementPresent |
//div[@id='AddCategory']//a[contains(text(),'Add Category')] |
|
| clickAt |
//div[@id='AddCategory']//a[contains(text(),'Add Category')] |
1,1 |
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
Knowledge Suite |
| type |
Description |
Category Knowledge Suite1 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
Knowledge Suite |
|
| verifyTextPresent |
Knowledge Suite |
|
| echo |
- Add forum for Search |
|
| waitForElementPresent |
//a[contains(text(),'Add Forum')] |
|
| click |
//a[contains(text(),'Add Forum')] |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
Live demo |
| type |
Description |
Live demo |
| waitForElementPresent |
//form[@id='UIForumForm']//a[text()='Save'] |
|
| click |
//form[@id='UIForumForm']//a[text()='Save'] |
|
| waitForTextPresent |
Live demo |
|
| verifyTextPresent |
Live demo |
|
| echo |
- Add Topic for Search |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//a[contains(text(),'Start Topic')] |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Demo data policy |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Welcome to eXo Knowledge Suite live demo! We hope you enjoy discovering eXo Forum and FAQ applications features. You don't need to be logged in to see the applications in action. But the power of KS lies in the rich set of admin/moderation features. We didn't want you to miss them so, when you create a demo account, you will be granted full permissions. Anybody can become an administrator or a moderator and play in the sandbox! As a consequence, the data for this forum (including the accounts) is not meant to stay. WE MAY RESET FORUMS AND FAQS ANYTIME Enjoy and don't forget to send feedback at ks@exoplatform.com |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Demo data policy |
|
| verifyTextPresent |
Demo data policy |
|
| echo |
- Quick Search Form |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| click |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| waitForElementPresent |
SearchValue |
|
| type |
SearchValue |
Knowledge |
| type |
SearchUser |
root |
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForTextPresent |
Knowledge Suite |
|
| verifyTextPresent |
Knowledge Suite |
|
| echo |
-Search Forum- |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| click |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| waitForElementPresent |
SearchValue |
|
| type |
SearchValue |
demo |
| select |
SearchType |
label=Forum |
| waitForElementPresent |
//option[@value='forum'] |
|
| click |
//option[@value='forum'] |
|
| click |
IsOpen |
|
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForTextPresent |
Live demo |
|
| verifyTextPresent |
Live demo |
|
| echo |
-SearchTopics- |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| click |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| select |
SearchType |
label=Topic |
| click |
//option[@value='topic'] |
|
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForTextPresent |
Demo data policy |
|
| verifyTextPresent |
Demo data policy |
|
| echo |
-Search Posts- |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| click |
//form[@id='QuickSearchForm']//a[@title='Advanced Search'] |
|
| select |
SearchType |
label=Post |
| click |
//option[@value='post'] |
|
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForTextPresent |
No matches. |
|
| verifyTextPresent |
No matches. |
|
| echo |
--Delete test data |
|
| waitForElementPresent |
//div[@id='UIBreadcumbs']//a[@title='Home'] |
|
| click |
//div[@id='UIBreadcumbs']//a[@title='Home'] |
|
| waitForElementPresent |
//div[@id='UICategories']//a[text()='Knowledge Suite'] |
|
| click |
//div[@id='UICategories']//a[text()='Knowledge Suite'] |
|
| waitForElementPresent |
link=Manage Category |
|
| click |
link=Manage Category |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| verifyConfirmation |
Are you sure to delete this category? |
|
| waitForElementPresent |
link=Logout |
|
| click |
link=Logout |
|
| waitForTextPresent |
Sign in |
|