Is there any method built in to Robotium Solo 4.0 to change the system clock time?
I understand that I could probably write some code to open the Settings app, navigate to the clock and change the time, but if something was built in to Robotium to do this, it would be very useful. The Settings menu varies so much depending on the OS version, so it would be a lot of work to write a method that does this properly on all Android OSes.
I have a few date pickers in my app that only allow you to select dates during business hours, so I need to fake that my phone's system time is within normal business hours for the date pickers to allow me to select anything.
If there's nothing built in and someone has written their own robotium script to navigate to the settings app, I'd appreciate you sharing your approach.
Thanks in advance.