useEngineLog(true);
}
@Test
public void testDefaultDatePicker(){
DatePickerDefaultModule datePicker = new DatePickerDefaultModule();
datePicker.defineUi();
connectUrl("http://localhost:8088/demos/datepicker/default.html");
datePicker.toggleInput();
datePicker.nextMonth();
datePicker.selectDay(20);
String date = datePicker.getSelectedDate();
System.out.println("Selected Date: " + date);
datePicker.toggleInput();
datePicker.prevMonth();
datePicker.selectFriday(2);
date = datePicker.getSelectedDate();
System.out.println("Selected Date: " + date);
date = datePicker.getMonthYear();
System.out.println("Selected Month and Year: " + date);
}