| AdvancedSearchTemplateIDTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Control Panel | |
| clickAtAndWait | link=Control Panel | |
| clickAtAndWait | link=Web Content | |
| clickAtAndWait | link=Templates | |
| store | eval(selenium.isVisible('link=Advanced »')) | advancedVisible |
| gotoIf | !${advancedVisible} | AdvancedNotVisible |
| clickAt | link=Advanced » | |
| label | AdvancedNotVisible | |
| waitForVisible | _15_searchTemplateId | |
| type | _15_searchTemplateId | templateid |
| clickAtAndWait | //div[2]/input | Search |
| type | _15_searchTemplateId | |
| assertText | //td[2]/a | TEMPLATEID |
| type | _15_searchTemplateId | templateid1 |
| clickAtAndWait | //div[2]/input | Search |
| type | _15_searchTemplateId | |
| assertElementNotPresent | link=TEMPLATEID | |
| clickAt | link=« Basic | |