| 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 |
-Create Cat_SNF_KS_43 |
|
| open |
/portal/private/intranet/forum |
|
| waitForElementPresent |
//div[@id='AddCategory']/div/div/div/div/a/span |
|
| click |
//div[@id='AddCategory']/div/div/div/div/a/span |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
Cat_SNF_KS_43 |
| type |
Description |
Add category |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
//div[@id='UIBreadcumbs']/div/div/div/div[1]/a |
|
| click |
//div[@id='UIBreadcumbs']/div/div/div/div[1]/a |
|
| waitForElementPresent |
link=Cat_SNF_KS_43 |
|
| verifyElementPresent |
link=Cat_SNF_KS_43 |
|
| echo |
-Create For_SNF_KS_43 |
|
| waitForElementPresent |
link=Cat_SNF_KS_43 |
|
| click |
link=Cat_SNF_KS_43 |
|
| waitForElementPresent |
//div[@id='AddForum']/div/div/div/div/a/span |
|
| click |
//div[@id='AddForum']/div/div/div/div/a/span |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
For_SNF_KS_43 |
| type |
Description |
Forum Description |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Cat_SNF_KS_43 |
|
| click |
link=Cat_SNF_KS_43 |
|
| waitForElementPresent |
link=For_SNF_KS_43 |
|
| verifyElementPresent |
link=For_SNF_KS_43 |
|
| echo |
-Create Top_SNF_KS_43 |
|
| waitForElementPresent |
link=For_SNF_KS_43 |
|
| click |
link=For_SNF_KS_43 |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Top_SNF_KS_43 |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Topic content |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForElementPresent |
link=Top_SNF_KS_43 |
|
| verifyElementPresent |
link=Top_SNF_KS_43 |
|
| waitForElementPresent |
//div[@id='UIBreadcumbs']//a[@title='Home'] |
|
| click |
//div[@id='UIBreadcumbs']//a[@title='Home'] |
|
| echo |
-Watch Category |
|
| contextMenu |
link=Cat_SNF_KS_43 |
|
| waitForElementPresent |
link=Watch |
|
| click |
link=Watch |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are now watching this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Unwatch Category |
|
| contextMenu |
link=Cat_SNF_KS_43 |
|
| waitForElementPresent |
//div[3]/div/div/div[2]/a |
|
| click |
//div[3]/div/div/div[2]/a |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are now watching this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Watch forum- |
|
| waitForElementPresent |
link=Cat_SNF_KS_43 |
|
| click |
link=Cat_SNF_KS_43 |
|
| waitForElementPresent |
link=For_SNF_KS_43 |
|
| contextMenu |
link=For_SNF_KS_43 |
|
| waitForElementPresent |
//a[@class='MenuItem AddWatching'] |
|
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are now watching this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Unwatch forum- |
|
| waitForElementPresent |
link=For_SNF_KS_43 |
|
| contextMenu |
link=For_SNF_KS_43 |
|
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are unwatch this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Watch Topic- |
|
| waitForElementPresent |
link=For_SNF_KS_43 |
|
| click |
link=For_SNF_KS_43 |
|
| waitForElementPresent |
link=Top_SNF_KS_43 |
|
| contextMenu |
link=Top_SNF_KS_43 |
|
| waitForElementPresent |
//a[@class='MenuItem AddWatching'] |
|
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are now watching this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-Unwatch topic- |
|
| waitForElementPresent |
link=Top_SNF_KS_43 |
|
| contextMenu |
link=Top_SNF_KS_43 |
|
| waitForElementPresent |
//a[@class='MenuItem AddWatching'] |
|
| click |
//a[@class='MenuItem AddWatching'] |
|
| waitForElementPresent |
//div[@class='PopupMessage'] |
|
| verifyElementPresent |
//div[@class='PopupMessage'] |
You are unwatch this item. |
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-- Delete |
|
| waitForElementPresent |
link=Cat_SNF_KS_43 |
|
| click |
link=Cat_SNF_KS_43 |
|
| 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? |
|
| waitForElementNotPresent |
link=Cat_SNF_KS_36 Cyan |
|
| verifyElementNotPresent |
link=Cat_SNF_KS_36 Cyan |
|
| clickAndWait |
link=Logout |
|
| waitForElementPresent |
//div[contains(text(),'Sign in')] |
|