| 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 test |
|
| 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 |
-Watch Category |
|
| waitForElementPresent |
link=Knowledge Suite |
|
| focus |
link=Knowledge Suite |
|
| contextMenu |
link=Knowledge Suite |
|
| waitForElementPresent |
link=Watch |
|
| click |
link=Watch |
|
| waitForTextPresent |
You are now watching this item. |
|
| verifyTextPresent |
You are now watching this item. |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Unwatch Category |
|
| waitForElementPresent |
link=Knowledge Suite |
|
| contextMenu |
link=Knowledge Suite |
|
| waitForElementPresent |
link=Unwatch |
|
| click |
link=Unwatch |
|
| waitForTextPresent |
You are no longer watching this item. |
|
| verifyTextPresent |
You are no longer watching this item. |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Watch forum- |
|
| waitForElementPresent |
link=Knowledge Suite |
|
| click |
link=Knowledge Suite |
|
| waitForElementPresent |
link=Live demo |
|
| contextMenu |
link=Live demo |
|
| waitForElementPresent |
//a[@class='MenuItem AddWatching'] |
|
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForTextPresent |
You are now watching this item. |
|
| verifyTextPresent |
You are now watching this item. |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Unwatch forum- |
|
| waitForElementPresent |
link=Live demo |
|
| contextMenu |
link=Live demo |
|
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForTextPresent |
You are no longer watching this item. |
|
| verifyTextPresent |
You are no longer watching this item. |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Watch Topic- |
|
| waitForElementPresent |
link=Demo data policy |
|
| contextMenu |
link=Demo data policy |
|
| echo |
-Start Watch Topic- |
|
| waitForElementPresent |
link=Watch |
|
| click |
link=Watch |
|
| waitForTextPresent |
You are now watching this item. |
|
| verifyTextPresent |
You are now watching this item. |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Unwatch topic- |
|
| waitForElementPresent |
link=Demo data policy |
|
| contextMenu |
link=Demo data policy |
|
| waitForElementPresent |
link=Unwatch |
|
| click |
link=Unwatch |
|
| waitForTextPresent |
You are no longer watching this item. |
|
| verifyTextPresent |
You are no longer watching this item. |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-More action- |
|
| waitForElementPresent |
link=Demo data policy |
|
| click |
link=Demo data policy |
|
| waitForElementPresent |
//a[contains(text(),'More Actions')] |
|
| click |
//a[contains(text(),'More Actions')] |
|
| echo |
-Delete topic- |
|
| waitForElementPresent |
//li[contains(@onclick,'SetDeleteTopic')]/a |
|
| click |
//li[contains(@onclick,'SetDeleteTopic')]/a |
|
| verifyConfirmation |
Are you sure to delete this topic? |
|
| waitForElementNotPresent |
link=Demo data policy |
|
| verifyElementNotPresent |
link=Demo data policy |
|
| echo |
- Delete all data |
|
| waitForElementPresent |
//div[@id='UIBreadcumbs']//a[@title='Knowledge Suite'] |
|
| click |
//div[@id='UIBreadcumbs']//a[@title='Knowledge Suite'] |
|
| waitForElementPresent |
link=Manage Category |
|
| click |
link=Manage Category |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| verifyConfirmation |
Are you sure to delete this category? |
|
| waitForElementNotPresent |
//div[@id='UIBreadcumbs']//a[@title='Knowledge Suite'] |
|
| verifyElementNotPresent |
//div[@id='UIBreadcumbs']//a[@title='Knowledge Suite'] |
|
| echo |
-Sign out |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| waitForTextPresent |
Sign in |
|