| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
//div[2]/div[2]/div[1]/div/div/div[1] |
|
| click |
//div[2]/div[2]/div[1]/div/div/div[1] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| echo |
-Add Category- |
|
| open |
/portal/private/intranet/forum |
|
| waitForElementPresent |
//a/span |
|
| click |
//a/span |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
SNF_KS_24_Cate 1 |
| type |
Description |
SNF_KS_24_Cate 1 Desc |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
//div[2]/div/div/div/div[1]/a |
|
| click |
//div[2]/div/div/div/div[1]/a |
|
| waitForTextPresent |
SNF_KS_24_Cate 1 |
|
| verifyTextPresent |
SNF_KS_24_Cate 1 |
|
| waitForElementPresent |
//div[2]/div/div/div/div[1]/a |
|
| click |
//div[2]/div/div/div/div[1]/a |
|
| waitForElementPresent |
//a/span |
|
| click |
//a/span |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
SNF_KS_24_Cate 2 |
| type |
Description |
SNF_KS_24_Cate 2 Desc |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
//div[2]/div/div/div/div[1]/a |
|
| click |
//div[2]/div/div/div/div[1]/a |
|
| waitForTextPresent |
SNF_KS_24_Cate 2 |
|
| verifyTextPresent |
SNF_KS_24_Cate 2 |
|
| echo |
-Add Forum Inside Category- |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 1 |
|
| click |
link=SNF_KS_24_Cate 1 |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ItemIcon AddForumIcon']/a |
|
| click |
//form[@id='UICategory']//div[@class='ItemIcon AddForumIcon']/a |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
Forum In Category Test |
| type |
Description |
Test Forum In Category |
| 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=SNF_KS_24_Cate 1 |
|
| click |
link=SNF_KS_24_Cate 1 |
|
| waitForTextPresent |
Forum In Category Test |
|
| verifyTextPresent |
Forum In Category Test |
|
| echo |
-Edit Forum inside Category- |
|
| waitForElementPresent |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| click |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='UIContextMenuContainer']//div[@class='ItemIcon EditForumIcon']/a |
|
| click |
//form[@id='UICategory']//div[@class='UIContextMenuContainer']//div[@class='ItemIcon EditForumIcon']/a |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
Forum In Category Test Edit |
| type |
Description |
Test Forum In Category Edit |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
Forum In Category Test Edit |
|
| verifyTextPresent |
Forum In Category Test Edit |
|
| echo |
-Lock Forum inside Category- |
|
| waitForElementPresent |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| click |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Lock |
|
| click |
link=Lock |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumLockedIcon'] |
|
| verifyElementPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumLockedIcon'] |
|
| waitForElementPresent |
link=Forum In Category Test Edit |
|
| click |
link=Forum In Category Test Edit |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| echo |
-UnLock Forum inside Category- |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 1 |
|
| click |
link=SNF_KS_24_Cate 1 |
|
| waitForElementPresent |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| click |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Unlock |
|
| click |
link=Unlock |
|
| waitForElementNotPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumLockedIcon'] |
|
| verifyElementNotPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumLockedIcon'] |
|
| waitForElementPresent |
link=Forum In Category Test Edit |
|
| click |
link=Forum In Category Test Edit |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton AddTheradIcon'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton AddTheradIcon'] |
|
| echo |
-Close Forum inside Category- |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 1 |
|
| click |
link=SNF_KS_24_Cate 1 |
|
| waitForElementPresent |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| click |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumCloseIcon'] |
|
| verifyElementPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumCloseIcon'] |
|
| waitForElementPresent |
link=Forum In Category Test Edit |
|
| click |
link=Forum In Category Test Edit |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='LockActionForum UIActionForum'] |
|
| echo |
-Open Forum inside Category- |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 1 |
|
| click |
link=SNF_KS_24_Cate 1 |
|
| waitForElementPresent |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| click |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Open |
|
| click |
link=Open |
|
| waitForElementNotPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumCloseIcon'] |
|
| verifyElementNotPresent |
//form[@id='UICategory']//div[@class='ForumStatusIcon ForumCloseIcon'] |
|
| waitForElementPresent |
link=Forum In Category Test Edit |
|
| click |
link=Forum In Category Test Edit |
|
| waitForElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton AddTheradIcon'] |
|
| verifyElementPresent |
//form[@id='UITopicContainer']//div[@class='IconButton AddTheradIcon'] |
|
| echo |
-Move Forum- |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 1 |
|
| click |
link=SNF_KS_24_Cate 1 |
|
| waitForElementPresent |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| click |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Move |
|
| click |
link=Move |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 2 |
|
| click |
link=SNF_KS_24_Cate 2 |
|
| waitForElementPresent |
//div[2]/div/div/div/div[1]/a |
|
| click |
//div[2]/div/div/div/div[1]/a |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 2 |
|
| click |
link=SNF_KS_24_Cate 2 |
|
| waitForTextPresent |
Forum In Category Test Edit |
|
| verifyTextPresent |
Forum In Category Test Edit |
|
| echo |
-Remove Forum- |
|
| waitForElementPresent |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| click |
//form[@id='UICategory']//input[@id='UIFORUMCheckAllForum'] |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Remove |
|
| click |
link=Remove |
|
| assertConfirmation |
Are you sure you want to delete this forum? |
|
| waitForTextNotPresent |
Forum In Category Test Edit |
|
| verifyTextNotPresent |
Forum In Category Test Edit |
|
| 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 |
SNF_KS_24_Cate 2 |
|
| verifyTextNotPresent |
SNF_KS_24_Cate 2 |
|
| waitForElementPresent |
link=SNF_KS_24_Cate 1 |
|
| click |
link=SNF_KS_24_Cate 1 |
|
| 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 |
SNF_KS_24_Cate 1 |
|
| verifyTextNotPresent |
SNF_KS_24_Cate 1 |
|
| clickAndWait |
link=Logout |
|