reset password
Author Message
nahmed5
Posts: 57
Posted 11:45 Apr 21, 2014 |

Hi,

As I'm trying to save the logcat log of the test run, I have noticed that in case of both test 1 & test 2 I get the following:

Runs: 1/1   Errors: 0 Failures: 1     (which I assume, means that my test run has failed)

in another JUnit window which I did not notice before! & my test 3 shows failure : 0.

I'm really confused about it! It looks like the app runs fine in the emulator. Should I just upload the Logcat logs to CSNS as it is?

Thanks!

nahmed5
Posts: 57
Posted 13:48 Apr 21, 2014 |

Now, Test 2 runs successfully. But test 1 still shows failure & stops working in this line:

        assertTrue("onCreate() count was off.", solo.searchText("onCreate\\(\\) calls: 2")); // in the Test1.java file

I've tried to tweak my codes here & there but it didn't help! Please advise!