@Test
 public void testSetSelecetdIndex() throws Exception {
   XulMenuitem item = (XulMenuitem) doc.getElementById("sales");
   list.setSelectedIndex(0);
   assertEquals(list.getSelectedItem().toString(), item.getLabel());
 }
 public void resetSelectedDatasource() {
   datatypeMenuList.setSelectedIndex(0);
 }