/** This method tests the search Page. It also submits a query for cats and
* verifies that the result has at least two items */
private void testSearchPage(WebConversation wc, WebResponse resp) throws Exception {
// Test the search page
WebLink wl = resp.getLinkWith("Search");
wl.click();
resp = wc.getCurrentPage();
// check if the search returns more than one result for "cat
WebForm form = resp.getForms()[0];
assertEquals("on", form.getParameterValue("searchForm:searchTags"));
String searchText = "cat";