| 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 |
-Add Category for Test- |
|
| waitForElementPresent |
link=Add category |
|
| click |
link=Add category |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
Cate1_SNF_KS_45 |
| type |
Description |
Category 1 |
| click |
link=Save |
|
| waitForTextPresent |
Cate1_SNF_KS_45 |
|
| verifyTextPresent |
Cate1_SNF_KS_45 |
|
| echo |
-Add Forum- |
|
| waitForElementPresent |
link=Add forum |
|
| click |
link=Add forum |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
For1_SNF_KS_45 |
| type |
Description |
prepare forum data |
| 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_45 |
|
| click |
link=Cate1_SNF_KS_45 |
|
| waitForTextPresent |
For1_SNF_KS_45 |
|
| verifyTextPresent |
For1_SNF_KS_45 |
|
| echo |
-Add Topic- |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| 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=For1_SNF_KS_45 |
|
| click |
link=For1_SNF_KS_45 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Demo Topic |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Test |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Demo Topic |
|
| verifyTextPresent |
Demo Topic |
|
| echo |
-Add post- |
|
| click |
link=Demo Topic |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Demo Post |
| click |
link=Quick reply |
|
| waitForTextPresent |
Demo Post |
|
| verifyTextPresent |
Demo Post |
|
| echo |
- Login by root to manage- |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| 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=Users |
|
| click |
link=Users |
|
| waitForTextPresent |
User name |
|
| verifyTextPresent |
demo |
|
| verifyTextPresent |
john |
|
| verifyTextPresent |
mary |
|
| verifyTextPresent |
root |
|
| click |
//table[@id='PermissionInfo']/tbody/tr[4]/td[5]/div/div[1]/div |
|
| waitForElementPresent |
ScreenName |
|
| type |
ScreenName |
demoscreen |
| type |
ForumUserTitle |
demotitle |
| type |
Signature |
demo signature |
| click |
IsDisplaySignature |
|
| click |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[2]/div/div/div/div |
|
| waitForElementPresent |
Timeformat |
|
| select |
Timeformat |
label=24-hour |
| select |
MaximumThreads |
label=5 |
| select |
MaximumPosts |
label=5 |
| click |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[3]/div/div/div/div |
|
| waitForElementPresent |
IsBanned |
|
| click |
IsBanned |
|
| click |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[4]/div/div/div/div |
|
| waitForElementPresent |
//a[@class='ActionLink TitleBold'] |
|
| verifyElementPresent |
//a[@class='ActionLink TitleBold'] |
Demo Topic |
| click |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]/div/div/div/div/div[5]/div/div/div/div |
|
| waitForElementPresent |
//a[@class='title'] |
|
| verifyElementPresent |
//a[@class='title'] |
Re: Demo Topic |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| echo |
-Login by banned Demo to check- |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| 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 |
UIForumActionBar |
|
| waitForElementPresent |
link=For1_SNF_KS_45 |
|
| click |
link=For1_SNF_KS_45 |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton LockIcon'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton LockIcon'] |
|
| waitForElementPresent |
link=Demo Topic |
|
| click |
link=Demo Topic |
|
| waitForElementNotPresent |
Message |
|
| verifyElementNotPresent |
Message |
|
| verifyTextPresent |
demo signature |
|
| verifyTextPresent |
demotitle |
|
| verifyTextPresent |
demoscreen |
|
| echo |
- Login by root to unban demo and verify changes value- |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| 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=Users |
|
| click |
link=Users |
|
| waitForTextPresent |
User name |
|
| verifyTextPresent |
demo |
|
| verifyTextPresent |
john |
|
| verifyTextPresent |
mary |
|
| verifyTextPresent |
root |
|
| waitForElementPresent |
//table[@id='PermissionInfo']/tbody/tr[4]/td[5]/div/div[1]/div |
|
| click |
//table[@id='PermissionInfo']/tbody/tr[4]/td[5]/div/div[1]/div |
|
| waitForElementPresent |
ForumUserTitle |
|
| verifyElementPresent |
ForumUserTitle |
demotitle |
| verifyElementPresent |
Signature |
demo signature |
| waitForElementPresent |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[2]/div/div/div/div |
|
| click |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[2]/div/div/div/div |
|
| waitForElementPresent |
Timeformat |
|
| verifyElementPresent |
Timeformat |
label=24-hour |
| verifyElementPresent |
MaximumThreads |
label=5 |
| verifyElementPresent |
MaximumPosts |
label=5 |
| waitForElementPresent |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[3]/div/div/div/div |
|
| click |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[3]/div/div/div/div |
|
| waitForElementPresent |
IsBanned |
|
| echo |
-Unban demo- |
|
| waitForElementPresent |
IsBanned |
|
| click |
IsBanned |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| echo |
-Login demo to check unban or not- |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| 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 |
UIForumActionBar |
|
| waitForElementPresent |
link=For1_SNF_KS_45 |
|
| click |
link=For1_SNF_KS_45 |
|
| waitForElementPresent |
link=Demo Topic |
|
| click |
link=Demo Topic |
|
| verifyElementPresent |
Message |
|
| verifyTextPresent |
demo signature |
|
| verifyTextPresent |
demoscreen |
|
| verifyTextPresent |
demotitle |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| echo |
-Delete Test Data- |
|
| 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=Cate1_SNF_KS_45 |
|
| click |
link=Cate1_SNF_KS_45 |
|
| waitForElementPresent |
//form[@id='UICategory']/div[3]/div/div/div/div[4]/div[1]/div/div/div/div/div |
|
| click |
//form[@id='UICategory']/div[3]/div/div/div/div[4]/div[1]/div/div/div/div/div |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this category? |
|
| waitForTextNotPresent |
Cate1_SNF_KS_45 |
|
| verifyTextNotPresent |
Cate1_SNF_KS_45 |
|
| echo |
-Reset display signature- |
|
| waitForElementPresent |
link=Users |
|
| click |
link=Users |
|
| waitForElementPresent |
//table[@id='PermissionInfo']/tbody/tr[4]/td[5]/div/div[1]/div |
|
| click |
//table[@id='PermissionInfo']/tbody/tr[4]/td[5]/div/div[1]/div |
|
| waitForElementPresent |
ForumUserTitle |
|
| type |
ForumUserTitle |
|
| type |
ScreenName |
|
| type |
Signature |
|
| click |
IsDisplaySignature |
|
| waitForElementPresent |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[2]/div/div/div/div |
|
| click |
//form[@id='UIModeratorManagementForm']/div[2]/div[5]//div[1]//div[2]/div/div/div/div |
|
| waitForElementPresent |
Timeformat |
|
| select |
Timeformat |
label=24-hour |
| select |
MaximumThreads |
label=10 |
| select |
MaximumPosts |
label=10 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
//form[@id='UIModeratorManagementForm']/div[3]/table/tbody/tr/td/div/div/div/div/a |
|
| click |
//form[@id='UIModeratorManagementForm']/div[3]/table/tbody/tr/td/div/div/div/div/a |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|