| 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 |
|
| echo |
-Add Category for Test- |
|
| open |
/ksdemo/private/classic/forum |
|
| waitForElementPresent |
//a/span |
|
| click |
//a/span |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
Cate1_SNF_KS_27 |
| type |
Description |
Category 1 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
Cate1_SNF_KS_27 |
|
| verifyTextPresent |
Cate1_SNF_KS_27 |
|
| echo |
-Add Forum- |
|
| waitForElementPresent |
//div[3]/div/div/div/div/a/span |
|
| click |
//div[3]/div/div/div/div/a/span |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
For1_SNF_KS_27 |
| type |
Description |
Manage Topic |
| waitForElementPresent |
//form[@id='UIForumForm']/div[4]/table//div[1]/div/div/div |
|
| click |
//form[@id='UIForumForm']/div[4]/table//div[1]/div/div/div |
|
| waitForElementPresent |
link=Cate1_SNF_KS_27 |
|
| click |
link=Cate1_SNF_KS_27 |
|
| waitForTextPresent |
For1_SNF_KS_27 |
|
| verifyTextPresent |
For1_SNF_KS_27 |
|
| waitForElementPresent |
//div[3]/div/div/div/div/a/span |
|
| click |
//div[3]/div/div/div/div/a/span |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
For2_SNF_KS_27 |
| type |
Description |
Move topic |
| waitForElementPresent |
//form[@id='UIForumForm']/div[4]/table//div[1]/div/div/div |
|
| click |
//form[@id='UIForumForm']/div[4]/table//div[1]/div/div/div |
|
| waitForElementPresent |
link=Cate1_SNF_KS_27 |
|
| click |
link=Cate1_SNF_KS_27 |
|
| waitForTextPresent |
For2_SNF_KS_27 |
|
| verifyTextPresent |
For2_SNF_KS_27 |
|
| echo |
-Add topic- |
|
| waitForElementPresent |
link=For1_SNF_KS_27 |
|
| click |
link=For1_SNF_KS_27 |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//div[@class='ItemIcon PostnewThreadIcon']/a |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic1_SNF_KS_27 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| waitForElementPresent |
//html/body/table/tbody/tr[2]/td/iframe |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic1_Content |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForElementPresent |
link=Topic1_SNF_KS_27 |
|
| verifyElementPresent |
link=Topic1_SNF_KS_27 |
|
| echo |
-Edit Topic- |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//input[@id='UIForumCheckAll'] |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Edit |
|
| click |
link=Edit |
|
| waitForElementPresent |
ThreadTitle |
|
| verifyValue |
ThreadTitle |
Topic1_SNF_KS_27 |
| type |
ThreadTitle |
Topic1_SNF_KS_27_Update |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic1_Content_Update |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic1_SNF_KS_27_Update |
|
| verifyTextPresent |
Topic1_SNF_KS_27_Update |
|
| echo |
-Close Topic- |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//input[@id='UIForumCheckAll'] |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| waitForElementPresent |
//div[@id='UITopicContent']/div/table/tbody/tr/td/div[@class='ThreadStatusIcon ThreadNewClosePost'] |
|
| verifyElementPresent |
//div[@id='UITopicContent']/div/table/tbody/tr/td/div[@class='ThreadStatusIcon ThreadNewClosePost'] |
|
| waitForElementPresent |
link=Topic1_SNF_KS_27_Update |
|
| click |
link=Topic1_SNF_KS_27_Update |
|
| waitForElementPresent |
//form[@id='UITopicDetail']//div[@class='IconButton LockIcon'] |
|
| verifyElementPresent |
//form[@id='UITopicDetail']//div[@class='IconButton LockIcon'] |
|
| verifyElementNotPresent |
//form[@id='UITopicDetail']//textarea[@id='Message'] |
|
| echo |
-Open Topic- |
|
| waitForElementPresent |
link=For1_SNF_KS_27 |
|
| click |
link=For1_SNF_KS_27 |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
UIForumCheckAll |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Open |
|
| click |
link=Open |
|
| waitForElementNotPresent |
//form[@id='UITopicContainer']//div[@class='ThreadStatusIcon ThreadNoNewClosePost'] |
|
| verifyElementNotPresent |
//form[@id='UITopicContainer']//div[@class='ThreadStatusIcon ThreadNoNewClosePost'] |
|
| waitForElementPresent |
link=Topic1_SNF_KS_27_Update |
|
| click |
link=Topic1_SNF_KS_27_Update |
|
| waitForElementPresent |
//form[@id='UITopicDetail']//div[@class='IconButton PostReplyIcon'] |
|
| verifyElementPresent |
//form[@id='UITopicDetail']//div[@class='IconButton PostReplyIcon'] |
|
| verifyElementPresent |
//form[@id='UITopicDetail']//textarea[@id='Message'] |
|
| echo |
-Lock Topic- |
|
| waitForElementPresent |
link=For1_SNF_KS_27 |
|
| click |
link=For1_SNF_KS_27 |
|
| waitForElementPresent |
UIForumCheckAll |
|
| click |
UIForumCheckAll |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Lock |
|
| click |
link=Lock |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='ThreadStatusIcon ThreadNoNewLockPost'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='ThreadStatusIcon ThreadNoNewLockPost'] |
|
| waitForElementPresent |
link=Topic1_SNF_KS_27_Update |
|
| click |
link=Topic1_SNF_KS_27_Update |
|
| waitForElementPresent |
UITopicDetail |
|
| verifyElementPresent |
//form[@id='UITopicDetail']//div[@class='IconButton LockIcon'] |
|
| verifyElementNotPresent |
//form[@id='UITopicDetail']//textarea[@id='Message'] |
|
| echo |
-Unlock Forum- |
|
| waitForElementPresent |
link=For1_SNF_KS_27 |
|
| click |
link=For1_SNF_KS_27 |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
UIForumCheckAll |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Unlock |
|
| click |
link=Unlock |
|
| waitForElementPresent |
link=Topic1_SNF_KS_27_Update |
|
| click |
link=Topic1_SNF_KS_27_Update |
|
| waitForElementPresent |
UITopicDetail |
|
| verifyElementPresent |
//form[@id='UITopicDetail']//div[@class='IconButton PostReplyIcon'] |
|
| verifyElementPresent |
//form[@id='UITopicDetail']//textarea[@id='Message'] |
|
| echo |
-Stick Topic- |
|
| waitForElementPresent |
link=For1_SNF_KS_27 |
|
| click |
link=For1_SNF_KS_27 |
|
| waitForElementPresent |
UITopicContainer |
|
| waitForElementPresent |
UIForumCheckAll |
|
| click |
UIForumCheckAll |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Stick |
|
| click |
link=Stick |
|
| waitForElementPresent |
UITopicContainer |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//span[@class='Text StickyIcon'] |
|
| echo |
-UnStick Topic- |
|
| waitForElementPresent |
UITopicContainer |
|
| waitForElementPresent |
UIForumCheckAll |
|
| click |
UIForumCheckAll |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Unstick |
|
| click |
link=Unstick |
|
| waitForElementNotPresent |
//form[@id='UITopicContainer']//div[@class='Text StickyIcon'] |
|
| verifyElementNotPresent |
//form[@id='UITopicContainer']//div[@class='Text StickyIcon'] |
|
| echo |
-Move Topic- |
|
| waitForElementPresent |
UIForumCheckAll |
|
| click |
UIForumCheckAll |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Move |
|
| click |
link=Move |
|
| waitForElementPresent |
link=For2_SNF_KS_27 |
|
| click |
link=For2_SNF_KS_27 |
|
| waitForTextNotPresent |
Topic1_SNF_KS_27_Update |
|
| verifyTextNotPresent |
Topic1_SNF_KS_27_Update |
|
| click |
//div[2]/div/div/div/div[1]/a[1] |
|
| click |
//div[2]/div/div/div/div[1]/a[1] |
|
| waitForElementPresent |
link=For2_SNF_KS_27 |
|
| click |
link=For2_SNF_KS_27 |
|
| waitForTextPresent |
Topic1_SNF_KS_27_Update |
|
| verifyTextPresent |
Topic1_SNF_KS_27_Update |
|
| echo |
-Add Topic For Delete- |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic2_SNF_KS_27 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic Delete |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic2_SNF_KS_27 |
|
| verifyTextPresent |
Topic2_SNF_KS_27 |
|
| echo |
-Delete Topic- |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//div[@id='UITopicContent']//table[@class='UIGrid']//td[9]/input[@class='checkbox'] |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this topic? |
|
| waitForTextNotPresent |
Topic2_SNF_KS_27 |
|
| verifyTextNotPresent |
Topic2_SNF_KS_27 |
|
| echo |
-Add Topic For Merge- |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic3_SNF_KS_27 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic Merge |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForElementPresent |
link=Topic3_SNF_KS_27 |
|
| verifyElementPresent |
link=Topic3_SNF_KS_27 |
|
| echo |
-Merge Topics- |
|
| waitForElementPresent |
UIForumCheckAll |
|
| click |
UIForumCheckAll |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Merge |
|
| click |
link=Merge |
|
| waitForElementPresent |
//div[@class='PopupTitle'] |
|
| waitForElementPresent |
destination |
|
| select |
destination |
label=Topic3_SNF_KS_27 |
| type |
title |
Topic for Merged |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
Topic for Merged |
|
| click |
link=Topic for Merged |
|
| waitForTextPresent |
Topic for Merged |
|
| verifyTextPresent |
Topic for Merged |
|
| verifyTextPresent |
Topic1_SNF_KS_27_Update |
|
| echo |
-ApproveTopic- |
|
| echo |
-Add Forum With Moderate Topic Option- |
|
| waitForElementPresent |
link=Cate1_SNF_KS_27 |
|
| click |
link=Cate1_SNF_KS_27 |
|
| waitForElementPresent |
//div[3]/div/div/div/div/a/span |
|
| click |
//div[3]/div/div/div/div/a/span |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
For3_SNF_KS_27_Approve |
| type |
Description |
Approve Topic |
| waitForElementPresent |
//form[@id='UIForumForm']/div[3]//div[1]//div[2]/div/div/div/div/div |
|
| click |
//form[@id='UIForumForm']/div[3]//div[1]//div[2]/div/div/div/div/div |
|
| waitForElementPresent |
ModerateThread |
|
| click |
ModerateThread |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Cate1_SNF_KS_27 |
|
| click |
link=Cate1_SNF_KS_27 |
|
| waitForTextPresent |
For3_SNF_KS_27_Approve |
|
| verifyTextPresent |
For3_SNF_KS_27_Approve |
|
| echo |
-Add Topic by normal user for check approve- |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/ksdemo/private/classic/forum |
|
| waitForElementPresent |
link=For3_SNF_KS_27_Approve |
|
| click |
link=For3_SNF_KS_27_Approve |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic for Approve |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic for Approval |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Your topic is pending for moderation. It will be displayed after approval. |
|
| verifyTextPresent |
Your topic is pending for moderation. It will be displayed after approval. |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| waitForTextNotPresent |
Topic for Approve |
|
| verifyTextNotPresent |
Topic for Approve |
|
| echo |
-Approve Topic By Root- |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| open |
/ksdemo/public/classic/ |
|
| 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 |
|
| waitForElementPresent |
link=For3_SNF_KS_27_Approve |
|
| click |
link=For3_SNF_KS_27_Approve |
|
| waitForTextPresent |
pending |
|
| verifyTextPresent |
pending |
|
| waitForElementPresent |
UIForumCheckAll |
|
| click |
UIForumCheckAll |
|
| click |
//form[@id='UITopicContainer']//div[@class='DownArrow1Icon'] |
|
| waitForElementPresent |
link=Approve |
|
| click |
link=Approve |
|
| waitForTextPresent |
Topic for Approve |
|
| verifyTextPresent |
Topic for Approve |
|
| echo |
-View approved topic by normal user- |
|
| waitForElementPresent |
link=Sign out |
|
| click |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/ksdemo/private/classic/forum |
|
| waitForTextPresent |
For3_SNF_KS_27_Approve |
|
| verifyTextPresent |
For3_SNF_KS_27_Approve |
|
| waitForElementPresent |
link=For3_SNF_KS_27_Approve |
|
| click |
link=For3_SNF_KS_27_Approve |
|
| waitForTextPresent |
Topic for Approve |
|
| verifyTextPresent |
Topic for Approve |
|
| echo |
-Delete Test Data- |
|
| waitForElementPresent |
link=Sign out |
|
| click |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| open |
/ksdemo/public/classic/ |
|
| 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 |
|
| waitForElementPresent |
link=Cate1_SNF_KS_27 |
|
| click |
link=Cate1_SNF_KS_27 |
|
| 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? |
|
| waitForTextNotPresent |
Cate1_SNF_KS_27 |
|
| verifyTextNotPresent |
Cate1_SNF_KS_27 |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|