reverse-unina / AndroidRipper

A toolset for the automatic GUI testing of mobile Android Applications.
http://reverse.dieti.unina.it/
GNU Affero General Public License v3.0
29 stars 21 forks source link

Ripper goes into loop #6

Open LavishSwarnkar opened 5 years ago

LavishSwarnkar commented 5 years ago

While executing the jar, everything works fine until the target app is installed on the device. After that the ripper starts and goes into an infinite loop and shows this error in between:-

aut.apk installed! Success ripper.apk installed! adb chmod 777... [1569485568136] Installation finished! Killing com.android.launcher3... [1569485568393] Start ripper... it.unina.android.ripper.RipperTestCase:[1569485590641] Connect... [1569485590642] Connecting to Android Ripper Service... [1569485590690] Ping... [1569485591466] Startup time: 38514 [1569485591467] Alive... [1569485591899] Sending describe msg... [1569485592258] Description Received! [1569485603790] Plan... [1569485603793] plannedTasks 3 [1569485605975] executeEvent.event:android.support.v7.widget.AppCompatButton,click [1569485606394] Wait ack (0)... [1569485607650] Wait ack (1)... [1569485607654] Alive... [1569485608213] Sending describe msg... [1569485608442] Description Received! [1569485626262] Plan... [1569485626263] plannedTasks 3 [1569485627584] executeEvent.event:openMenu [1569485628012] Wait ack (0)... [1569485628892] Alive... [1569485629377] Sending describe msg... [1569485629622] Description Received! [1569485647110] Plan... [1569485647112] plannedTasks 3 [1569485648400] executeEvent.event:openMenu [1569485648855] Wait ack (0)... [1569485649752] Alive... [1569485650660] Sending describe msg... [1569485650915] Description Received! [1569485668850] Plan... [1569485668851] plannedTasks 3 [1569485670257] executeEvent.event:openMenu [1569485670815] Wait ack (0)... [1569485671641] Alive... [1569485672255] Sending describe msg... [1569485672479] Description Received! [1569485690483] Plan... [1569485690484] plannedTasks 3 [1569485691907] executeEvent.event:back [1569485692376] Wait ack (0)... [1569485693641] Wait ack (1)... [1569485694917] Wait ack (2)... [1569485694922] Alive... [1569485695499] Sending describe msg... [1569485695632] Description Received! [1569485706650] Plan... [1569485706651] plannedTasks 3 [1569485708095] executeEvent.event:openMenu [1569485708657] Wait ack (0)... [1569485709436] Alive... [1569485710040] Sending describe msg... [1569485710153] Description Received! [1569485720844] Plan... [1569485720845] plannedTasks 3 [1569485722147] executeEvent.event:back [1569485722597] Wait ack (0)... [1569485723847] executeTask(): AckNotReceivedException [1569485723850] msg == null || running == false [1569485723851] Alive... [1569485724118] ... NOT Alive! [1569485724124] End message... [1569485725319] Uninstall AUT APK... Test results for InstrumentationTestRunner=.

Time: 155.927

OK (1 test)

What to do? Please help!

DAN931223 commented 4 years ago

Have you successfully run AndroidRipper?