0

I created a TestCase with Robotium about 2 months ago and it was working out great with Android 2.1, 2.3.3 and 2.3.6. But yesterday I updated my phone to 4.0.4 and now I'm having trouble setting a value in my DatePickerDialog.

Before my recent problems here's the line I was using to set the date correctly:

solo.setDatePicker(0, YEAR, MONTH, DAY_OF_MONTH);

I've also tried this, but it doesn't work :

solo.getCurrentDatePickers().get(0).updateDate(YEAR, MONTH, DAY_OF_MONTH);

So has anyone been able to set a DatePicker in Android 4.0 and up with Robotium ? I'm about to file a bug report.

Jean-Philippe Roy
  • 4,752
  • 3
  • 27
  • 41

0 Answers0