assertTrue(-1 != allOptionsText.indexOf("DELETE FROM DEPARTMENT WHERE DEPARTMENT.COMPANYID=1 and DEPARTMENT.ID>1"));//check each option
assertTrue(-1 != allOptionsText.indexOf("UPDATE DEPARTMENT SET NAME='MyUpdDept' WHERE COMPANYID=1 AND ID=1"));//check each option
//check result
HtmlButtonInput adhocButton = (HtmlButtonInput)adhocForm.getHtmlElementById("queryButton");
HtmlPage adhocResult = (HtmlPage)adhocButton.click();
//System.out.println("alerts size:"+collectedAlerts.size());
//if(collectedAlerts.size() > 0){
//for(int i=0; i<collectedAlerts.size(); i++){
//System.out.println("alert msg:"+collectedAlerts.get(i));