| 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']//a[text()="Sign in"] |
|
| echo |
-Add Category for Test- |
|
| open |
/ksdemo/private/classic/forum |
|
| echo |
-Add Category for Test- |
|
| waitForElementPresent |
//span[text()="Add category"] |
|
| click |
//span[text()="Add category"] |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
Cate1_SNF_KS_26 |
| type |
Description |
Category 1 |
| echo |
-Save |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
Cate1_SNF_KS_26 |
|
| verifyTextPresent |
Cate1_SNF_KS_26 |
|
| echo |
-Add Forum- |
|
| waitForElementPresent |
//span[text()="Add forum"] |
|
| click |
//span[text()="Add forum"] |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
For_SNF_KS_26 |
| type |
Description |
More actions |
| waitForElementPresent |
//form[@id='UIForumForm']//a[text()="Save"] |
|
| click |
//form[@id='UIForumForm']//a[text()="Save"] |
|
| waitForTextPresent |
For_SNF_KS_26 |
|
| verifyTextPresent |
For_SNF_KS_26 |
|
| echo |
-Lock Forum- |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[text()="More actions"] |
|
| click |
//form[@id='UITopicContainer']//div[text()="More actions"] |
|
| waitForElementPresent |
//a[contains(@href, "SetLockedForum")] |
|
| click |
//a[contains(@href, "SetLockedForum")] |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| echo |
-Unlock Forum- |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[text()="More actions"] |
|
| click |
//form[@id='UITopicContainer']//div[text()="More actions"] |
|
| waitForElementPresent |
//a[contains(@href, "SetUnLockForum")] |
|
| click |
//a[contains(@href, "SetUnLockForum")] |
|
| waitForElementNotPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| verifyElementNotPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton AddTheradIcon'] |
|
| echo |
-Close Forum- |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[text()="More actions"] |
|
| click |
//form[@id='UITopicContainer']//div[text()="More actions"] |
|
| waitForElementPresent |
//a[contains(@href, "CloseForum")] |
|
| click |
//a[contains(@href, "CloseForum")] |
|
| waitForElementPresent |
UITopicContainer |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| echo |
-Open Forum- |
|
| waitForElementPresent |
//div[@class='ForumToolbar']//div[@class='CenterBar']/div[6]//div[@class='ItemIcon SetOpenIcon']/a |
|
| click |
//div[@class='ForumToolbar']//div[@class='CenterBar']/div[6]//div[@class='ItemIcon SetOpenIcon']/a |
|
| waitForElementNotPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| verifyElementNotPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton AddTheradIcon'] |
|
| echo |
-Watch Forum- |
|
| waitForElementPresent |
link=Watch |
|
| click |
link=Watch |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| waitForElementPresent |
link=Unwatch |
|
| verifyElementPresent |
link=Unwatch |
|
| echo |
-Manage Watch Forum- |
|
| waitForElementPresent |
//div[@class='ForumToolbar']//div[@class='CenterBar']/div[6]//div[@class='ItemIcon WatchOptionIcon']/a |
|
| click |
//div[@class='ForumToolbar']//div[@class='CenterBar']/div[6]//div[@class='ItemIcon WatchOptionIcon']/a |
|
| waitForElementPresent |
//form[@id='UIWatchToolsForm']/div[2]//table//td[2]/div/div |
|
| click |
//form[@id='UIWatchToolsForm']/div[2]//table//td[2]/div/div |
|
| waitForTextPresent |
no emails |
|
| verifyTextPresent |
no emails |
|
| waitForElementPresent |
//form[@id='UIWatchToolsForm']/div[3]/table//a |
|
| click |
//form[@id='UIWatchToolsForm']/div[3]/table//a |
|
| echo |
-Manage IP Ban- |
|
| waitForElementPresent |
link=Banned IPs |
|
| click |
link=Banned IPs |
|
| waitForElementPresent |
newIpBan1 |
|
| type |
newIpBan1 |
192 |
| type |
newIpBan2 |
168 |
| type |
newIpBan3 |
1 |
| type |
newIpBan4 |
64 |
| click |
link=[Add] |
|
| waitForTextPresent |
192.168.1.64 |
|
| verifyTextPresent |
192.168.1.64 |
|
| waitForElementPresent |
link=X |
|
| click |
link=X |
|
| assertConfirmation |
This IP will no longer be banned. Do you confirm ? |
|
| waitForTextNotPresent |
192.168.1.64 |
|
| verifyTextNotPresent |
192.168.1.64 |
|
| waitForElementPresent |
UIBanIPForumManagerForm |
|
| click |
//form[@id='UIBanIPForumManagerForm']/div[3]/table//a |
|
| echo |
-Delete Test Data- |
|
| waitForElementPresent |
link=Cate1_SNF_KS_26 |
|
| click |
link=Cate1_SNF_KS_26 |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this category? |
|
| waitForElementNotPresent |
link=Cate1_SNF_KS_26 |
|
| verifyTextNotPresent |
link=Cate1_SNF_KS_26 |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|