| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| echo |
-Add Topic Type- |
|
| open |
/ksdemo/private/classic/forum |
|
| waitForElementPresent |
//div[@id='Administrations']/div/div[1]/div/div/div/div |
|
| click |
//div[@id='Administrations']/div/div[2]/div/div/div/div[2]/div/div/div[6]/a/span |
|
| waitForElementPresent |
link=Add Topic Type |
|
| click |
link=Add Topic Type |
|
| waitForElementPresent |
topicTypeName |
|
| type |
topicTypeName |
New Topic Type |
| waitForElementPresent |
//form[@id='UIAddTopicTypeForm']/div[2]/div/table/tbody/tr[2]/td[2]/div/div/div[2]/div[2]/div/a[11]/div |
|
| click |
//form[@id='UIAddTopicTypeForm']/div[2]/div/table/tbody/tr[2]/td[2]/div/div/div[2]/div[2]/div/a[11]/div |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
New Topic Type |
|
| verifyTextPresent |
New Topic Type |
|
| verifyElementPresent |
//div[@class='Icon16x16 BlueInfo'] |
|
| echo |
-Edit Topic Type- |
|
| waitForElementPresent |
//table[@id='UIGrid']/tbody/tr/td[3]/div/div[1]/div |
|
| click |
//table[@id='UIGrid']/tbody/tr/td[3]/div/div[1]/div |
|
| waitForElementPresent |
topicTypeName |
|
| type |
topicTypeName |
New Topic Type Update |
| waitForElementPresent |
//form[@id='UIAddTopicTypeForm']/div[2]/div/table/tbody/tr[2]/td[2]/div/div/div[2]/div[2]/div/a[34]/div |
|
| click |
//form[@id='UIAddTopicTypeForm']/div[2]/div/table/tbody/tr[2]/td[2]/div/div/div[2]/div[2]/div/a[34]/div |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
New Topic Type Update |
|
| verifyTextPresent |
New Topic Type Update |
|
| verifyElementPresent |
//div[@class='Icon16x16 Glove'] |
|
| echo |
-Delete Topic Type- |
|
| waitForElementPresent |
//table[@id='UIGrid']/tbody/tr/td[3]/div/div[2]/div |
|
| click |
//table[@id='UIGrid']/tbody/tr/td[3]/div/div[2]/div |
|
| waitForTextNotPresent |
New Topic Type Update |
|
| verifyTextNotPresent |
New Topic Type Update |
|
| verifyElementNotPresent |
//div[@class='Icon16x16 Bomb'] |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|