| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
//div[contains(text(),'Sign in')] |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/portal/private/intranet/forum |
|
| echo |
-Add Category for Test- |
|
| waitForElementPresent |
//a/span |
|
| click |
//a/span |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
Cate1_SNF_KS_33 |
| type |
Description |
Category 1 |
| click |
link=Save |
|
| waitForTextPresent |
Cate1_SNF_KS_33 |
|
| verifyTextPresent |
Cate1_SNF_KS_33 |
|
| 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_33 |
| 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_33 |
|
| click |
link=Cate1_SNF_KS_33 |
|
| waitForTextPresent |
For1_SNF_KS_33 |
|
| verifyTextPresent |
For1_SNF_KS_33 |
|
| echo |
-Add Topic for topic actions test- |
|
| waitForElementPresent |
link=For1_SNF_KS_33 |
|
| click |
link=For1_SNF_KS_33 |
|
| waitForElementPresent |
UITopicContainer |
|
| click |
//form[@id='UITopicContainer']//div[@class='ItemIcon PostnewThreadIcon']/a |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Top1_SNF_KS_33 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic for Post Test |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Top1_SNF_KS_33 |
|
| verifyTextPresent |
Top1_SNF_KS_33 |
|
| echo |
-Quick Reply for post action test |
|
| waitForElementPresent |
link=Top1_SNF_KS_33 |
|
| click |
link=Top1_SNF_KS_33 |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Post Test |
| click |
link=Quick reply |
|
| waitForTextPresent |
Post Test |
|
| verifyTextPresent |
Post Test |
|
| echo |
-Edit Post- |
|
| waitForElementPresent |
//form[@id='UITopicDetail']//div[@class='PostsInThreadContainer ImageContentContainer']/div[3]//div[@class='ButtonMiddle']/div |
|
| click |
//form[@id='UITopicDetail']//div[@class='PostsInThreadContainer ImageContentContainer']/div[3]//div[@class='ButtonMiddle']/div |
|
| waitForElementPresent |
//iframe[@id='MessageContent___Frame'] |
|
| selectFrame |
//iframe[@id='MessageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Post Test Edit |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Post Test Edit |
|
| verifyTextPresent |
Post Test Edit |
|
| echo |
-Quote Post- |
|
| click |
//form[@id='UITopicDetail']//div[@class='PostsInThreadContainer ImageContentContainer']/div[3]//table[@class='TablePost']//div[3]/div[4]/div/div[4]//div[@class='ButtonMiddle']/div |
|
| waitForElementPresent |
//iframe[@id='MessageContent___Frame'] |
|
| selectFrame |
//iframe[@id='MessageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
[QUOTE=root]Post Test Edit[/QUOTE] Quote test |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Originally Posted by root |
|
| verifyTextPresent |
Originally Posted by root |
|
| echo |
-Private Post- |
|
| click |
//form[@id='UITopicDetail']//div[@class='PostsInThreadContainer ImageContentContainer']/div[3]//table[@class='TablePost']//div[3]/div[4]/div/div[3]//div[@class='ButtonMiddle']/div |
|
| waitForElementPresent |
//iframe[@id='MessageContent___Frame'] |
|
| selectFrame |
//iframe[@id='MessageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Private Post |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Private Post |
|
| verifyTextPresent |
Private Post |
|
| echo |
-Delete Post- |
|
| waitForElementPresent |
//form[@id='UITopicDetail']//input[@class='checkbox'] |
|
| click |
//form[@id='UITopicDetail']//input[@class='checkbox'] |
|
| click |
//form[@id='UITopicDetail']/div[4]/div[1]//div[1]/div[1]/div/div/div/div/div |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this post? |
|
| waitForTextNotPresent |
Post 1 Edit |
|
| verifyTextNotPresent |
Post 1 Edit |
|
| echo |
-Check Private Post- |
|
| click |
link=Logout |
|
| open |
/portal/public/intranet/ |
|
| waitForElementPresent |
//div[contains(text(),'Sign in')] |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| echo |
-Add Topic for topic actions test- |
|
| open |
/portal/private/intranet/forum |
|
| waitForElementPresent |
link=For1_SNF_KS_33 |
|
| click |
link=For1_SNF_KS_33 |
|
| waitForTextPresent |
Top1_SNF_KS_33 |
|
| verifyTextPresent |
Top1_SNF_KS_33 |
|
| click |
link=Top1_SNF_KS_33 |
|
| waitForTextNotPresent |
Private Post |
|
| verifyTextNotPresent |
Private Post |
|
| echo |
-Delete Test Data- |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| open |
/portal/public/intranet/ |
|
| waitForElementPresent |
//div[contains(text(),'Sign in')] |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/portal/private/intranet/forum |
|
| waitForElementPresent |
link=Cate1_SNF_KS_33 |
|
| click |
link=Cate1_SNF_KS_33 |
|
| 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_33 |
|
| verifyTextNotPresent |
Cate1_SNF_KS_33 |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| waitForTextPresent |
Sign in |
|