Questions tagged [calabash-android]

Calabash Android is an automated acceptance testing framework for Android native and hybrid applications.

is an automated acceptance testing framework for native and hybrid applications.

Links

More

If you have any questions on , you can also use the Google group

Related

249 questions
2
votes
1 answer

Tests fail when device screen is sleeping

I am trying to run some Calabash tests on an Android device. If I manually turn the screen before running the tests then everything works. On a Nexus 4 if I turn the screen off and try to run the tests then my first scenario times out waiting for…
aschmied
  • 908
  • 2
  • 10
  • 26
2
votes
1 answer

calabash-android - What does resign do?

I am new to using calabash-android to test Android applications. What does the calabash-android resign name-of-my.apk do? Thanks
slindsey3000
  • 4,053
  • 5
  • 36
  • 56
2
votes
1 answer

What is the appropriate way to check that I am on a particular screen in Calabash testing?

I'm looking to assert that I am on a particular screen during my tests, and if I'm not, then I should fail. What is the recommended way of doing this? For example, if I have a test like this: Given that I am on the Login screen When I press "Sign…
s73v3r
  • 1,751
  • 2
  • 22
  • 48
2
votes
1 answer

Calabash handling "Complete action using" dialog

I want to test sharing functionality of an app but I have no idea how to handle android dialog "Complete action using" (Facebook, Gmail etc.) When I use query("*") it is returning an empty set of fields. Is there any way to handle such system…
kjuri
  • 158
  • 1
  • 10
1
vote
1 answer

Calabash-android resign with signature scheme v2

I'm trying to install and run a debug APK with Calabash-android, but it is failing because the scheme of the signature. My original APK is signed with the debug keystore using scheme v2 (signed when building it via gradle): $ apksigner verify -v…
abeljus
  • 342
  • 1
  • 3
  • 10
1
vote
1 answer

No signature files found in META-INF. Cannot proceed (RuntimeError)

I am trying to use calabash-android to start a test sever on a phone in android studio. I am new to this and gotten this far thanks to tutorials. I downloaded java, ruby, calabash-android, set-up environment variables, created a key store in the…
etkoppy
  • 11
  • 1
1
vote
0 answers

Calabash test android with React-native

i'm working with Calabash-Ui-Test, i'm using react-native for android, i want to write a scenario using the ID to target my view, so i add testID for my components. So in my scenario i used: Given I wait for the view with id "NoResourceEntry-47" to…
1
vote
1 answer

Unable to activate calabash-android-0.9.5, because json-2.1.0 conflicts with json (~> 1.8) (Gem::ConflictError)

Getting the following error - Unable to activate calabash-android, json conflict C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:2325:in…
Sathish
  • 11
  • 3
1
vote
0 answers

Unable to Check the Splash Screen displaying or not, after launching the app using calabash

utomating the Test case(splash screen is visible or not & how much time it is displaying) using calabash. First I'm trying to verify whether the splash screen is displaying or not after launching the app. But i couldn't achieve. Please help me in…
1
vote
0 answers

Service not initializing when running Calabash tests

The app I'm working on is using a service to handle accounts and authentication tokens, the gist of it is that if no account is found it should show a login screen and allow the user to log in to a new account. When building and running the app…
1
vote
1 answer

How to verify specific text from text view in calabash android

How do i verify specific text from text view in calabash android i enter some number in text field, and there is some specific scenario in which it should be multiplied with some another number which is returned by the service. this multiplication…
zzz
  • 497
  • 3
  • 14
  • 32
1
vote
1 answer

unable to resign apk in Calabash Android

I want to set up calabash android for APK testing from my Windows 7 machine. I have installed Android Studio, Ruby and JAenter code hereVA JDK. i have also setup the environment variable properly. below is the version of C:\Users\username>ruby…
bKashOST
  • 149
  • 4
  • 11
1
vote
0 answers

how to handle an unexpected popup in calabash-android

I am testing an app , which gives popup 1s or two times a day. and my script fails when this popup appears ... how to handle this kind of unexpected popup from the app.
zzz
  • 497
  • 3
  • 14
  • 32
1
vote
2 answers

How to launch calabash-android on OS X? (Ruby gems dependency error)

I've successfully generated file tree via calabash-android gen After that I've tried to run tests: calabash-android run ../app/build/outputs/apk/app-debug.apk But got error: Unable to activate calabash-android-0.9.0, because json-2.0.2 conflicts…
Vassily
  • 5,263
  • 4
  • 33
  • 63
1
vote
1 answer

Calabash console Android - query get all ids on screen

In Calabash console for iOS there is a command: ids The command displays all the element ids on the current screen. For Android you can use command query("*") Which displays all the views on screen, you can manually look through and find the…
Jake Graham Arnold
  • 1,416
  • 2
  • 19
  • 40