| 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']//a[text()="Sign in"] |
|
| echo |
-Access Forum |
|
| open |
/ksdemo/private/classic/forum |
|
| echo |
-Add Category- |
|
| waitForElementPresent |
//span[text()="Add category"] |
|
| click |
//span[text()="Add category"] |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
SNF_KS_22 |
| type |
Description |
Basic action on Category |
| echo |
-Save |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
1000 |
|
| echo |
- Go Home |
|
| waitForElementPresent |
//a[@title="Home"] |
|
| click |
//a[@title="Home"] |
|
| echo |
-Edit Category- |
|
| waitForElementPresent |
link=SNF_KS_22 |
|
| click |
link=SNF_KS_22 |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| waitForElementPresent |
link=Edit |
|
| click |
link=Edit |
|
| waitForElementPresent |
CategoryTitle |
|
| verifyValue |
CategoryTitle |
SNF_KS_22 |
| verifyValue |
Description |
Basic action on Category |
| type |
CategoryTitle |
SNF_KS_22 Update |
| type |
Description |
Edit the description |
| type |
UserPrivate |
root |
| echo |
-Move Permission tab |
|
| waitForElementPresent |
//form[@id='UICategoryForm']//div[text()="Permissions"] |
|
| click |
//form[@id='UICategoryForm']//div[text()="Permissions"] |
|
| waitForElementPresent |
Topicable |
|
| type |
Topicable |
root |
| type |
Postable |
root |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
- Go Home |
|
| waitForElementPresent |
//a[@title="Home"] |
|
| click |
//a[@title="Home"] |
|
| echo |
-Delete Category- |
|
| click |
link=SNF_KS_22 Update |
|
| echo |
-Manage Cateogory |
|
| waitForElementPresent |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| click |
//form[@id='UICategory']//div[@class='ManageCategoryButton'] |
|
| echo |
-Delete |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this category? |
|
| waitForTextNotPresent |
SNF_KS_22 Update |
|
| verifyTextNotPresent |
SNF_KS_22 Update |
|
| echo |
-Sign Out |
|
| clickAndWait |
link=Sign out |
|