| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| waitForElementPresent |
password |
|
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| open |
/ksdemo/private/classic/answers |
|
| echo |
-Add Category- |
|
| waitForElementPresent |
link=Category |
|
| click |
link=Category |
|
| waitForElementPresent |
link=Add category |
|
| clickAt |
link=Add category |
|
| waitForElementPresent |
eventCategoryName |
|
| type |
eventCategoryName |
SNF_KS_04 |
| waitForElementPresent |
description |
|
| type |
description |
SNF_KS_04 des |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=SNF_KS_04 |
|
| verifyElementPresent |
link=SNF_KS_04 |
|
| echo |
-Watch Category- |
|
| waitForElementPresent |
//div[6]/div/a/span |
|
| mouseOver |
//div[6]/div/a/span |
|
| contextMenu |
//div[6]/div/a/span |
|
| mouseDownRight |
//div[@id='UIFAQPopupCategories2']//div[@class='UIRightClickPopupMenu UIContextMenuContainer']//div[8][@class='MenuItem']/a |
|
| waitForText |
//div[2]/div[3]/div/div/div/div/div[2] |
You are watching this category, you will be notified about all changes. |
| verifyText |
//div[2]/div[3]/div/div/div/div/div[2] |
You are watching this category, you will be notified about all changes. |
| waitForElementPresent |
//div[@id='UIAnswersPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIAnswersPortlet']//a[text()='OK'] |
|
| echo |
-UnWatch Category- |
|
| waitForElementPresent |
//div[6]/div/a/span |
|
| mouseOver |
//div[6]/div/a/span |
|
| contextMenu |
//div[6]/div/a/span |
|
| mouseDownRight |
//div[@id='UIFAQPopupCategories2']//div[@class='UIRightClickPopupMenu UIContextMenuContainer']//div[8][@class='MenuItem']/a |
|
| echo |
-Delete Test Data- |
|
| waitForElementPresent |
//div[6]/div/a/span |
|
| mouseOver |
//div[6]/div/a/span |
|
| contextMenu |
//div[6]/div/a/span |
|
| mouseDownRight |
//div[@id='UIFAQPopupCategories2']/div/div/div/div/div[6]/a |
|
| assertConfirmation |
Are you sure you want to delete this category ? |
|
| waitForTextNotPresent |
SNF_KS_04 |
|
| verifyTextNotPresent |
SNF_KS_04 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|