ok(!tptb.isEmpty(), "The time picker text box shouldn't be empty.");
/*
* Date Picker
*/
DatePickerTextBox dptb = new DatePickerTextBox();
g_panel.add(dptb, WIDGETS_ID);
dptb.setText("12/26/2010");
ok("12/26/2010".equals(JSDateUtil.getDate(dptb.getDateValue())),
"The date in the date picker text box date value should be 12/26/2010 and it was " + JSDateUtil.getDate(dptb.getDateValue()));
ok(!dptb.isEmpty(), "The date picker text box shouldn't be empty.");
}