| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/ksdemo/private/classic/forum |
|
| echo |
-Watch Category |
|
| componentExoContextMenu |
link=Knowledge Suite |
contextmenu |
| 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 Category |
|
| componentExoContextMenu |
link=Knowledge Suite |
contextmenu |
| waitForElementPresent |
//div[3]/div/div/div[2]/a |
|
| click |
//div[3]/div/div/div[2]/a |
|
| 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 |
-Watch forum- |
|
| waitForElementPresent |
link=Knowledge Suite |
|
| click |
link=Knowledge Suite |
|
| waitForElementPresent |
link=Live demo |
|
| componentExoContextMenu |
link=Live demo |
contextmenu |
| 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 |
|
| componentExoContextMenu |
link=Live demo |
contextmenu |
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are unwatch this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Watch Topic- |
|
| waitForElementPresent |
link=Live demo |
|
| click |
link=Live demo |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=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 |
|
| componentExoContextMenu |
link=Topic of Watch |
contextmenu |
| 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 topic- |
|
| componentExoContextMenu |
link=Topic of Watch |
contextmenu |
| waitForElementPresent |
//a[@class='MenuItem AddWatching'] |
|
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are unwatch this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| waitForElementPresent |
link=Topic of Watch |
|
| click |
link=Topic of Watch |
|
| waitForElementPresent |
UITopicDetail |
|
| click |
//form[@id='UITopicDetail']/div[4]/div[1]//div[5]/div[1]/div/div/div/div/div |
|
| waitForElementPresent |
//form[@id='UITopicDetail']//div[@class='ToolbarActionsContainer']/div[5]//div[@class='UIContextMenuContainer']//div[2]//div[12] |
|
| click |
//form[@id='UITopicDetail']//div[@class='ToolbarActionsContainer']/div[5]//div[@class='UIContextMenuContainer']//div[2]//div[12] |
|
| assertConfirmation |
Are you sure you want to delete this topic? |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|