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
16
votes
5 answers

For mobile automation what are the advantages of Appium VS Calabash and of Calabash VS Appium?

I have used Appium in Mobile automation with IOS and Android. I wanted to know about advantages that offers Calabash and if there are common point in generated scripts of both tools? I have followed this link : Appium VS Calabash
Emna Ayadi
  • 2,430
  • 8
  • 37
  • 77
16
votes
6 answers

How to install Ruby on docker?

I am trying to install ruby on docker. I could install the 1.9 versions but it is not possible to install the latest version such as 2.2.0 and above. I am actually trying to set up calabash on docker. Have tried this. Whenever I try to install…
13
votes
3 answers

Calabash-android: attach to running app

I have calabash-android set up working perfectly with a default scenario (using cucumber to run tests or calabash-android console to enter REPL mode). However, under some scenarios, it turns out to be pretty useful to be able to attach to an app…
Anton
  • 2,483
  • 2
  • 23
  • 35
12
votes
3 answers

Android SDK path issue when using calabash-android

I'm getting a "Could not find an Android SDK please make sure it is installed" error when trying to run calabash-android commands. I've installed the Android SDK via brew. Here are the contents of my…
Towercap
  • 175
  • 1
  • 8
10
votes
6 answers

ADB: How to tap/close from recent apps to completely through ADB one liner command

I have tried multiple commands to close the app from App switcher but didn't through it. I even don't know if there is ány adb command which is persist to close the app from the app switcher. I more Googled for the same and even went through Android…
Vaibhav Joshi
  • 211
  • 2
  • 4
  • 9
9
votes
1 answer

Calabash test system dialog is showing & interact with it

My android app project programmatically starts system dialog to install trusted CA certificate: Intent intent = KeyChain.createInstallIntent(); intent.putExtra(KeyChain.EXTRA_PKCS12,…
Leem.fin
  • 40,781
  • 83
  • 202
  • 354
8
votes
1 answer

Constantly get error "HTTPClient::ReceiveTimeoutError" with my very simple calabash test case

I am new in calabash-android test automation library. I have spent two days to understand the problem with no success:( I am using calabash-android version 0.8.0, I follow the documented pre-defined steps to do the test. My test is simple, just…
Leem.fin
  • 40,781
  • 83
  • 202
  • 354
8
votes
4 answers

Testing multiple Android devices on one machine

I have two different Android devices plugged into the same machine. What I would like to do is to target each device and execute a test on it separately. Unfortunately, it seems as if I need to unplug one of the devices to run the test each time,…
user1861040
  • 81
  • 1
  • 2
6
votes
5 answers

How to scroll a ListView until I see a specific string with Calabash-Android

I have exact same question as the post below, except that I need it to work for Android and the post below is for iOS. I have tried both solutions given in that post, but they don't seem to work for Android. All help is appreciated! How do i scroll…
Anna
  • 123
  • 1
  • 8
5
votes
0 answers

Connection reset by peer @ io_fillbuf - fd:8 (HTTPClient::KeepAliveDisconnected)

I am running calabash test for android. Everything has been working fine so far. But at some points, it is raising the following error HTTPClient::KeepAliveDisconnected: Connection reset by peer @ io_fillbuf - fd:8 …
Muneer Muhammed
  • 883
  • 3
  • 10
  • 29
4
votes
7 answers

run fails with INSTALL_FAILED_TEST_ONLY

I'm new using calabash to test Android applications. I implemented some tests to validate an apk implemented with Android Studio 3.0.1 and Gradle version 2.3.3 and that works fine. The problem appears when i try to execute the tests to validate a…
Andrews
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

calabash-android - error installing APK - remote Read-only file system

I am trying to run calabash-android tests on my Android APK, on one machine with one emulator the tests run fine, however on another machine with the same code but a different emulator I get an error. Here are the commands I run in a .sh file: rm…
4
votes
1 answer

How to change Device Language and Country (Locale) in Calabash-Android

I would like to change Device country & language using calabash (Android & iOS), I could not find in official docs: calabashapi.xamarin.com/android/ I have seen set_gps_coordinates_from_location it is not helpful for me.
Aravin
  • 6,605
  • 5
  • 42
  • 58
4
votes
1 answer

Amazon Device Farm with Calabash says devices are all unavailable

I'm trying to run calabash tests for my app on Amazon Device Farm, but a very simple check for text test always yields the following error, acrross all possible devices (yes, I tried all of them): This device was unavailable and skipped No other…
Luan Nico
  • 5,376
  • 2
  • 30
  • 60
4
votes
1 answer

How to override a Calabash predefined step?

I'm defining custom calabash steps (to use on both iOS and Android) and would like to selectively override various predefined steps. An example is: Given /^I press the "([^\"]*)" button$/ do |text| tap_when_element_exists("android.widget.Button…
Stan Kurdziel
  • 5,476
  • 1
  • 43
  • 42
1
2 3
16 17