Site Loader
Auckland, New Zealand
In this post, we will start to create our first Android Test Project, which we will use for Robotium automation. In this post we will also discuss about
  • ActivityInstrumentationTestcase2
  • Initializing¬†ActivityInstrumentationTestcase2
  • Referencing android project with AUT


This class provides functional testing of a single activity. The activity under test will be created using the system infrastructure (by calling InstrumentationTestCase.launchActivity()) and you will then be able to manipulate your Activity directly. Other options supported by this test case include: This class replaces ActivityInstrumentationTestCase, which is deprecated. New tests should be written using this base class. You can watch the complete discuss in the video below Thanks for reading the post and watching the video !!! Please leave your comments and let me know if there is anything I should update in this post. Thanks, Karthik KK

Post Author: Karthik kk

Leave a Reply

Your email address will not be published. Required fields are marked *