Closed GoogleCodeExporter closed 9 years ago
Please see: Why do text and button clicks get wrong?
http://code.google.com/p/robotium/wiki/QuestionsAndAnswers
Original comment by renasr...@gmail.com
on 26 Mar 2012 at 9:09
Original comment by renasr...@gmail.com
on 26 Mar 2012 at 9:10
Hi,
my Manifest file is
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sample.ui.test"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
<supports-screens android:anyDensity="true"/>
<instrumentation android:targetPackage="com.sample.ui" android:name="android.test.InstrumentationTestRunner" />
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
<uses-library android:name="android.test.runner" />
</application>
</manifest>
But still i am not able to click on button.
I tried with Samsung Nexus/Htc but i am not able to click on Button Search.
My Sample TestMethod:
public void testSampleBusiness(){
solo.waitForActivity("SplashScreen");
solo.clickOnEditText(0);
solo.sleep(5000);
solo.clickOnView(solo.getView(R.id.search_button));
}
Kindly help..
Original comment by itsme.va...@gmail.com
on 29 Mar 2012 at 5:25
Original issue reported on code.google.com by
itsme.va...@gmail.com
on 26 Mar 2012 at 9:27