Code example for Instrumentation

Methods: getContext

0
		super.setUp(); 
		//Log.d("**** ROBO ****", "setup"); 
		if(inst == null)
			inst = getInstrumentation();
		mActivity = getActivity();
		myApp = inst.getContext();
		solo = new Solo(inst, mActivity);
		 
		if(firstRun) {
            firstRun = false;
            Log.d("testcase firstrun", "firstrun");
            testcaseIndex++;
        } 
		Log.d("TestCaseTags.TestCase.getName() : " , TestCaseTags.TestCase.getName().toString());
		 
//		SproutXMLParser sp = new SproutXMLParser(); 
//		sp.readXMLData("Sprout_td_template_1.xml"); 
		ReadTestcase readTestCase = new ReadTestcase();
		testCaseListData = readTestCase.readXMLData("InMobiTest.xml");
//		readTestCase.readXMLData("InMobiTest.xml"); 
Connect your IDE to all the code out there  Get Codota for Java