风动雨静 发表于 2012-5-3 13:59:37

Robotium测试问题征集

单开一帖,旨在收集使用robotium测试过程中遇到的问题并给予解答
面向对象,入门,进阶皆可。
请勿回复“支持,顶,加油等词汇”
谢谢

wyz0123852 发表于 2012-7-26 18:04:22

你好:初次使用robotium 出现如下问题:
------------------------------
Android Launch!
adb is running normally.
Performing android.test.InstrumentationTestRunner JUnit launch
Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'android_2'
Application already deployed. No need to reinstall.
Launching instrumentation android.test.InstrumentationTestRunner on device emulator-5554
Collecting test information
Test run failed: Instrumentation run failed due to 'Process crashed.'
不管我换哪一个apk去测试,都会出现
Collecting test information
Test run failed: Instrumentation run failed due to 'Process crashed.'
这样的提示,请问是怎么回事

wyz0123852 发表于 2012-7-26 18:05:48

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.yanzhao.demo"
    android:versionCode="1"
    android:versionName="1.0" >

   
   
    <uses-sdk android:minSdkVersion="8" />

    <instrumentation
      android:name="android.test.InstrumentationTestRunner"
      android:targetPackage="cn.com.ppapp.merchant.plugin" />

    <application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name" >
      <uses-library android:name="android.test.runner" />
    </application>

</manifest>


这个是Mainifest.xml
页: [1]
查看完整版本: Robotium测试问题征集