The App starts with delay and Scenario failed

171 views
Skip to first unread message

alme

unread,
Jul 5, 2016, 4:48:42 AM7/5/16
to calabash-android
The procedure I used to install calabash on the App is:
verify that "internet permission" is present on the Manifest file.
Then in Start command Prompt with Ruby:
cd C:\appFolder 
calabash-android gen 
calabash-android resign C:\..\app-debug-unaligned.apk (although I have not set keys, because I did not)
Then:
 calabash-android console C:...\app-debug-unaligned.apk

 reinstall_apps

 start_test_server_in_background

-> well, the first time the App starts with delay, and I get the error:
App did not start (RuntimeError)
The second time I launch the command "
start_test_server_in_background" the App starts, on my mobile, without any problems and I can navigate the various view via console.

-> Instead each time i write the command:
calabash-android run C:...\app-debug-unaligned.apk
 
the App starts with delay, and I get the error:
7037 KB/s (585926 bytes in 0.081s)
7227 KB/s (5746697 bytes in 0.776s)
  Scenario: Test on service one    # features/my_first.feature:3
  App did not start (RuntimeError)
  ./features/support/app_life_cycle_hooks.rb:5:in `Before'
    Given I wait                                 # calabash-android-0.7.3/lib/calabash-android/steps/progress_steps.rb:5
...
Failing Scenarios:
cucumber features/my_first.feature:3 # Scenario: Test on service one

1 scenario (1 failed)
7 steps (7 skipped)
0m27.930s
the corresponding logcat I get in Android Studio is:
07-04 18:07:25.295 6936-6936/com.mobile.app.servizi.activity V/SettingsInterface: invalidate [system]: current 1 != cached 0
07-04 18:07:25.296 6936-6936/com.mobile.app.servizi.activity D/ActivityThread: hoder:android.app.IActivityManager$ContentProviderHolder@33bf55fa,provider,holder.Provider:android.content.ContentProviderProxy@e05f7ab
07-04 18:07:25.300 6936-6936/com.mobile.mobile.app.servizi.activity W/ResourcesManager: Asset path '/system/framework/com.google.android.maps.jar' does not exist or contains no resources.
07-04 18:07:25.487 6936-6936/com.mobile.mobile.app.servizi.activity D/OpenSSLLib: OpensslErr:Module:13(114:155); file:external/openssl/crypto/asn1/asn1_lib.c ;Line:145;Function:ASN1_get_object

After that the App is started on the mobile but now the test has already failed. So nothing is checked.

what should I do?
Up to a week ago everything works fine on another App. 
Please help me.
Reply all
Reply to author
Forward
0 new messages