| 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 |
|
| echo |
-Create Cat_SNF_KS_37 Cyan |
|
| 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_37 Cyan |
| 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_37 Cyan |
|
| verifyElementPresent |
link=Cat_SNF_KS_37 Cyan |
|
| echo |
-Create For_SNF_KS_37 Fallow |
|
| waitForElementPresent |
link=Cat_SNF_KS_37 Cyan |
|
| click |
link=Cat_SNF_KS_37 Cyan |
|
| 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_37 Fallow |
| type |
Description |
Forum Description |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Cat_SNF_KS_37 Cyan |
|
| click |
link=Cat_SNF_KS_37 Cyan |
|
| waitForElementPresent |
link=For_SNF_KS_37 Fallow |
|
| verifyElementPresent |
link=For_SNF_KS_37 Fallow |
|
| echo |
-Create Top_SNF_KS_37 Tan |
|
| waitForElementPresent |
link=For_SNF_KS_37 Fallow |
|
| click |
link=For_SNF_KS_37 Fallow |
|
| waitForElementPresent |
link=Start topic |
|
| click |
link=Start topic |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
Top_SNF_KS_37 Tan |
| 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_37 Tan |
|
| verifyElementPresent |
link=Top_SNF_KS_37 Tan |
|
| echo |
-Create Post_SNF_KS_37 Pink |
|
| waitForElementPresent |
link=Top_SNF_KS_37 Tan |
|
| click |
link=Top_SNF_KS_37 Tan |
|
| waitForElementPresent |
//form[@id='UITopicDetail']/div[5]/div[1]/div/div/div/div/div/div/div/span |
|
| click |
//form[@id='UITopicDetail']/div[5]/div[1]/div/div/div/div/div/div/div/span |
|
| waitForElementPresent |
PostTitle |
|
| type |
PostTitle |
Post_SNF_KS_37 Pink |
| waitForElementPresent |
//iframe[@id='MessageContent___Frame'] |
|
| selectFrame |
//iframe[@id='MessageContent___Frame'] |
|
| waitForElementPresent |
//html/body/table/tbody/tr[2]/td/iframe |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Post body |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Submit |
|
| click |
link=Submit |
|
| waitForTextPresent |
Post_SNF_KS_37 Pink |
|
| verifyTextPresent |
Post_SNF_KS_37 Pink |
|
| echo |
-Search Category- |
|
| waitForElementPresent |
QuickSearchForm |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| click |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| waitForElementPresent |
SearchValue |
|
| type |
SearchValue |
Cyan |
| type |
SearchUser |
root |
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForTextPresent |
Cat_SNF_KS_37 Cyan |
|
| verifyTextPresent |
Cat_SNF_KS_37 Cyan |
|
| echo |
-Search Forum- |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| click |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| waitForElementPresent |
SearchValue |
|
| type |
SearchValue |
Fallow |
| select |
SearchType |
label=Forum |
| waitForElementPresent |
//option[@value='forum'] |
|
| click |
//option[@value='forum'] |
|
| check |
IsOpen |
|
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForTextPresent |
For_SNF_KS_37 Fallow |
|
| verifyTextPresent |
For_SNF_KS_37 Fallow |
|
| echo |
-SearchTopics- |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| click |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| waitForElementPresent |
SearchValue |
|
| type |
SearchValue |
Tan |
| select |
SearchType |
label=Topic |
| waitForElementPresent |
//option[@value='topic'] |
|
| click |
//option[@value='topic'] |
|
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForTextPresent |
Top_SNF_KS_37 Tan |
|
| verifyTextPresent |
Top_SNF_KS_37 Tan |
|
| echo |
-Search Posts- |
|
| waitForElementPresent |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| click |
//form[@id='QuickSearchForm']/div[2]/a[1] |
|
| waitForElementPresent |
SearchValue |
|
| type |
SearchValue |
Pink |
| select |
SearchType |
label=Post |
| waitForElementPresent |
//option[@value='post'] |
|
| click |
//option[@value='post'] |
|
| waitForElementPresent |
link=Search |
|
| click |
link=Search |
|
| waitForElementPresent |
link=exact:Post_SNF_KS_37 Pink |
|
| click |
link=exact:Post_SNF_KS_37 Pink |
|
| echo |
--Delete test data |
|
| waitForElementPresent |
link=Open topic |
|
| clickAt |
link=Open topic |
|
| echo |
-- Delete |
|
| waitForElementPresent |
link=Cat_SNF_KS_37 Cyan |
|
| click |
link=Cat_SNF_KS_37 Cyan |
|
| 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_37 Cyan |
|
| verifyElementNotPresent |
link=Cat_SNF_KS_37 Cyan |
|
| clickAndWait |
link=Logout |
|
| waitForElementPresent |
//div[contains(text(),'Sign in')] |
|