Re: 'Process crash' when running test in test suite

45 views
Skip to first unread message

naveed

unread,
Jun 6, 2013, 3:26:59 AM6/6/13
to robotium-...@googlegroups.com
Emulators are always un-predictable so can't suggest anything at this stage, can you please run all on real device and come up with problems if any?


On Thursday, June 6, 2013 6:44:40 AM UTC+5, Tam Nguyen wrote:
Hi all,

I'm using robotium 4.1 with emulator.

1. When running that script alone, it works fine - return: Failed and give exception
    But when I put it in test suite, that script make 'Process crash'. I also attach some images for your review. (see RunAlone.jpg, RunInTestSuite.jpg, Logcat.jpg)
    

2. I made a test suite (see RunInTestSuite.jpg) but when I run it from command, sometime it only runs the first test case, sometime it runs many tests but not as the order I put on test suite.
   - Command: adb shell am instrument -w -e class swim.com.test.test.AllTest swim.com.test/android.test.InstrumentationTestRunner
  

Please help me point out root cause for 2 issues above. Thanks in advance.

Best Regards,
----------------------
Tam

naveed

unread,
Jun 7, 2013, 2:38:41 AM6/7/13
to robotium-...@googlegroups.com
Tam,

First thing, can you please start a separate thread for this issue # 2, it will help avoiding mess?
Secondly it should work, can you please provided stack trace, logcat etc... for this?

On Friday, June 7, 2013 7:43:00 AM UTC+5, Tam Nguyen wrote:
Hi,

I just run my scripts on HTC Rhyme S510b using Android 2.3.5 and don't see issue #1 anymore.

About issue #2:
 - I have 4 scripts and run them via command, first time it runs fine
 - Then I modify my test suite, add 2 more scripts (also go to Project > Clean) and run again via command, but it only runs 4 scripts as the first time.

Please help me to give your suggestion in this case. 

Thank you.
-----------------
Tam


Reply all
Reply to author
Forward
0 new messages