| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| waitForElementPresent |
link=Forum |
|
| clickAndWait |
link=Forum |
|
| 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 |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyTextPresent |
You 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'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
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'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You no longer watching this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Create Topic- |
|
| waitForElementPresent |
link=Live demo |
|
| click |
link=Live demo |
|
| waitForElementPresent |
//a[contains(text(),'Start Topic')] |
|
| click |
//a[contains(text(),'Start Topic')] |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic of Watch |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic for Watch |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForElementPresent |
link=Topic of Watch |
|
| contextMenu |
link=Topic of Watch |
|
| echo |
-Start Watch Topic- |
|
| waitForElementPresent |
link=Watch |
|
| click |
link=Watch |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
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=Topic of Watch |
|
| contextMenu |
link=Topic of Watch |
|
| waitForElementPresent |
link=Unwatch |
|
| click |
link=Unwatch |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You no longer watching this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-More action- |
|
| waitForElementPresent |
link=Topic of Watch |
|
| click |
link=Topic of Watch |
|
| 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 |
|
| assertConfirmation |
Are you sure you want to delete this topic? |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-Sign out |
|
| waitForElementPresent |
link=Sign in |
|
| verifyElementPresent |
link=Sign in |
|