| SearchTemplateTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Control Panel | |
| clickAtAndWait | link=Control Panel | |
| clickAtAndWait | link=Web Content | |
| clickAtAndWait | link=Templates | |
| store | eval(selenium.isVisible('link=« Basic')) | basicVisible |
| gotoIf | !${basicVisible} | BasicNotVisible |
| clickAt | link=« Basic | |
| label | BasicNotVisible | |
| waitForVisible | _15_keywords | |
| type | _15_keywords | template |
| clickAtAndWait | //input[@value='Search'] | |
| type | _15_keywords | |
| assertText | //td[3]/a | Web Content Template Name Web Content Template Description |
| type | _15_keywords | template1 |
| clickAtAndWait | //input[@value='Search'] | |
| type | _15_keywords | |
| assertTextNotPresent | Web Content Template Name | |
| assertTextNotPresent | Web Content Template Description | |