| 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_44 |
| type |
Description |
Category 1 |
| click |
link=Save |
|
| waitForTextPresent |
Cate1_SNF_KS_44 |
|
| verifyTextPresent |
Cate1_SNF_KS_44 |
|
| 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_44 |
| 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_44 |
|
| click |
link=Cate1_SNF_KS_44 |
|
| waitForTextPresent |
For1_SNF_KS_44 |
|
| verifyTextPresent |
For1_SNF_KS_44 |
|
| echo |
-Watch Category |
|
| click |
//div[@id='UIBreadcumbs']/div/div/div/div[1]/a |
|
| waitForElementPresent |
link=Cate1_SNF_KS_44 |
|
| contextMenu |
link=Cate1_SNF_KS_44 |
|
| waitForElementPresent |
link=Watch |
|
| click |
link=Watch |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are now watching this item. |
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-User Settings- |
|
| waitForElementPresent |
//div[@id='EditProfile']/div/div/div/div/a/span |
|
| click |
//div[@id='EditProfile']/div/div/div/div/a/span |
|
| waitForElementPresent |
Signature |
|
| type |
Signature |
Root Signature |
| click |
IsDisplaySignature |
|
| click |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div |
|
| waitForElementPresent |
ShortDateformat |
|
| select |
Timeformat |
label=24-hour |
| select |
MaximumThreads |
label=5 |
| select |
MaximumPosts |
label=5 |
| waitForElementPresent |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div |
|
| click |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div |
|
| waitForElementPresent |
//form[@id='UIForumUserSettingForm']//div[@class='UITabContentContainer']/div[3] |
|
| verifyElementPresent |
//form[@id='UIForumUserSettingForm']//div[@class='UITabContentContainer']/div[3]//a |
Cate1_SNF_KS_44 |
| click |
//div[@class='DeleteIcon'] |
|
| assertConfirmation |
Are you sure you want delete this subscription? |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-Check Change Settings value- |
|
| waitForElementPresent |
//div[@id='EditProfile']/div/div/div/div/a/span |
|
| click |
//div[@id='EditProfile']/div/div/div/div/a/span |
|
| verifyValue |
Signature |
Root Signature |
| waitForElementPresent |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div |
|
| click |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div |
|
| waitForElementPresent |
ShortDateformat |
|
| verifyElementPresent |
ShortDateformat |
label=m-d-yy (4-9-10) |
| verifyElementPresent |
LongDateformat |
label=mmm dd, yyyy (Apr 09, 2010) |
| verifyElementPresent |
Timeformat |
label=24-hour |
| verifyElementPresent |
MaximumThreads |
label=5 |
| verifyElementPresent |
MaximumPosts |
label=5 |
| waitForElementPresent |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div |
|
| click |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div |
|
| waitForElementNotPresent |
//div[@class='DeleteIcon'] |
|
| verifyElementNotPresent |
//div[@class='DeleteIcon'] |
Cate1_SNF_KS_44 |
| waitForElementPresent |
link=Cancel |
|
| click |
link=Cancel |
|
| echo |
-Check Signature Display- |
|
| waitForElementPresent |
link=Cate1_SNF_KS_44 |
|
| click |
link=Cate1_SNF_KS_44 |
|
| waitForElementPresent |
link=For1_SNF_KS_44 |
|
| click |
link=For1_SNF_KS_44 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Test Signature |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Test Signature |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Test Signature |
|
| verifyTextPresent |
Test Signature |
|
| waitForElementPresent |
link=Test Signature |
|
| click |
link=Test Signature |
|
| waitForTextPresent |
Root Signature |
|
| verifyTextPresent |
Root Signature |
|
| echo |
-Add Forum for Settings- |
|
| waitForElementPresent |
//div[@id='UIBreadcumbs']/div/div/div/div[1]/a[1] |
|
| click |
//div[@id='UIBreadcumbs']/div/div/div/div[1]/a[1] |
|
| waitForElementPresent |
link=Cate1_SNF_KS_44 |
|
| click |
link=Cate1_SNF_KS_44 |
|
| waitForElementPresent |
//div[@id='AddForum']/div/div/div/div/a/span |
|
| click |
//div[@id='AddForum']/div/div/div/div/a/span |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
For2_SNF_KS_44 |
| type |
Description |
Forum for Forum Setting |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
For2_SNF_KS_44 |
|
| verifyTextPresent |
For2_SNF_KS_44 |
|
| echo |
-Add topics for forum settings- |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic 1 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic 1 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic 1 |
|
| verifyTextPresent |
Topic 1 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic 2 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic 2 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic 2 |
|
| verifyTextPresent |
Topic 2 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic 3 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic 3 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic 3 |
|
| verifyTextPresent |
Topic 3 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic 4 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic 4 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic 4 |
|
| verifyTextPresent |
Topic 4 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic 5 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic 5 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic 5 |
|
| verifyTextPresent |
Topic 5 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic 6 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic 6 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic 6 |
|
| verifyTextPresent |
Topic 6 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Topic for Forum Setting Test |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic for Forum Setting Test |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Topic for Forum Setting Test |
|
| verifyTextPresent |
Topic for Forum Setting Test |
|
| waitForElementPresent |
//form[@id='UITopicContainer']/div[2]/div[3]/div[1]/div[1]/a[1] |
|
| click |
//form[@id='UITopicContainer']/div[2]/div[3]/div[1]/div[1]/a[1] |
|
| waitForElementPresent |
link=Topic 1 |
|
| verifyElementPresent |
link=Topic 1 |
|
| verifyElementPresent |
//form[@id='UITopicContainer']/div[2]/div[3]/div[1]/div[1]/a[1] |
|
| click |
//form[@id='UITopicContainer']/div[2]/div[3]/div[1]/div[1]/a[1] |
|
| waitForElementPresent |
link=Topic for Forum Setting Test |
|
| click |
link=Topic for Forum Setting Test |
|
| echo |
-Add posts for test- |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Post 1 for setting test |
| click |
link=Quick reply |
|
| waitForTextPresent |
Post 1 for setting test |
|
| verifyTextPresent |
Post 1 for setting test |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Post 2 for setting test |
| click |
link=Quick reply |
|
| waitForTextPresent |
Post 2 for setting test |
|
| verifyTextPresent |
Post 2 for setting test |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Post 3 for setting test |
| click |
link=Quick reply |
|
| waitForTextPresent |
Post 3 for setting test |
|
| verifyTextPresent |
Post 3 for setting test |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Post 4 for setting test |
| click |
link=Quick reply |
|
| waitForTextPresent |
Post 4 for setting test |
|
| verifyTextPresent |
Post 4 for setting test |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Post 5 for setting test |
| click |
link=Quick reply |
|
| waitForTextPresent |
Post 5 for setting test |
|
| verifyTextPresent |
Post 5 for setting test |
|
| waitForElementPresent |
Message |
|
| type |
Message |
Post 6 for setting test |
| click |
link=Quick reply |
|
| waitForTextPresent |
Post 6 for setting test |
|
| verifyTextPresent |
Post 6 for setting test |
|
| verifyElementPresent |
//form[@id='UITopicDetail']/div[2]/div[4]/div[1]/div[1]/a[2] |
|
| click |
//form[@id='UITopicDetail']/div[2]/div[4]/div[1]/div[1]/a[2] |
|
| waitForTextPresent |
Topic for Forum Setting Test |
|
| verifyTextPresent |
Topic for Forum Setting Test |
|
| waitForElementPresent |
//div[@id='UIBreadcumbs']/div/div/div/div[1]/a[1] |
|
| click |
//div[@id='UIBreadcumbs']/div/div/div/div[1]/a[1] |
|
| waitForElementPresent |
link=Cate1_SNF_KS_44 |
|
| click |
link=Cate1_SNF_KS_44 |
|
| echo |
-Delete Test Data- |
|
| 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_44 |
|
| verifyTextNotPresent |
Cate1_SNF_KS_44 |
|
| echo |
-Reset some value- |
|
| waitForElementPresent |
//div[@id='EditProfile']/div/div/div/div/a/span |
|
| click |
//div[@id='EditProfile']/div/div/div/div/a/span |
|
| waitForElementPresent |
Signature |
|
| type |
Signature |
|
| click |
IsDisplaySignature |
|
| click |
//form/div[2]/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div |
|
| waitForElementPresent |
ShortDateformat |
|
| select |
Timeformat |
label=24-hour |
| select |
MaximumThreads |
label=10 |
| select |
MaximumPosts |
label=10 |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|