Web support has been built in. Now the below methods also support web content:
Besides building in web support, Robotium 4.0 comes with a set of new methods that are directly aimed for interaction with web content:
By is a static object that has been introduced to allow test case developers to select web content based on their id, name, tagName, textContent and className. Examples are
By.id(String id) and
Besides the Web support, a new class: RobotiumUtils is available that contains utility methods that can filter, order and sort Views. Examples are:
in Robotium 4.0 the activity handling has been further improved making methods like:
getAllOpenedActivities() obsolete. Also the new method
getCurrentViews(Class replaces the old specific getCurrentX methods (e.g.
To download the latest release of Robotium and it’s javadoc please go to the Downloads page.
I hope you will enjoy Robotium 4.0!