Questions tagged [calabash]

An automated acceptance testing framework for Android and iOS. Calabash enables you to write and execute automated acceptance tests of mobile apps. Calabash is cross-platform, supporting Android and iOS native apps.

Calabash is an automated acceptance testing framework for Android and iOS. It supports both native and hybrid app testing.

It's developed and maintained by Xamarin and is released under the Eclipse Public License.

It's Official site

See More

595 questions
6
votes
1 answer

Calabash Android: Asset path error when trying to run a test on an APK

Calabash Android was working fine on my Mac OS X then quite suddenly and spontaneously, whenever I ran the following command... calabash-android run I received the following error: 2014-03-03 17:48:38 - JDK found on PATH. 2014-03-03 17:48:38 -…
Noffica
  • 469
  • 8
  • 23
6
votes
3 answers

What's the cleanest way to define a constant string that involves a variable in Ruby?

For some context, a lot of my code has the same lines of text throughout it (we are using Calabash to do iOS automation, if that gives you an idea). For example: "all label marked:'#{name}'" is used 8 times in a particular class. I would prefer to…
Teresa Peters
  • 229
  • 3
  • 14
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
1 answer

Mobile Center CLI, "SyntaxError: Unexpected token" When Uploading Tests

How to solve this error that appears when using the Mobile Center Command-Line Interface to upload tests to Mobile Center? SyntaxError: Unexpected token ...
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
5
votes
1 answer

Jenkins multiconfiguration project handle concurrent device usage

Case I have a Jenkins slave witch run's calabash tests on mobile devices (android, ios). To separate on which machines (the mac for iOS or Linux for Android) the tests is run, I also use the Throttle Concurrent Builds Plug-in. This way I separate…
lony
  • 6,733
  • 11
  • 60
  • 92
5
votes
1 answer

Reset iOS app in calabash-ios

How to change code in hooks to reset (iOS) app at specific scenario ? means only to those scenario where tags mention as @reset
Mesh
  • 193
  • 1
  • 7
5
votes
2 answers

Install Calabash-Android causes error on OS X Mavericks

I need some help with trying to install Calabash-Android. After installing rvm, home-brew, when I install Calabash i get a strange error: sudo gem install calabash-android Building native extensions. This could take a while... ERROR: Error…
Doz
  • 7,009
  • 12
  • 61
  • 69
5
votes
2 answers

Getting "App did not start (RuntimeError)" when trying to run calabash-android tests on device

I'm trying to run an small initial set of calabash-android tests on a Samsung Galaxy S3 connected to a Windows 7 laptop and keep getting an "App did not start (RuntimeError)" when trying to start the test server. I've got Ruby v1.9.3p448, RubyDevKit…
billmaya
  • 1,311
  • 3
  • 15
  • 34
5
votes
2 answers

Failed to build gem native extension when installing Calabash Android on Ubuntu

I want to install Calabash Android on Ubuntu(13.10). I have gem (1.8.23) and ruby (1.9.3p194) installed and tried to run "sudo gem install calabash-android" but keep getting messages saying "Failed to build gem native extension", below is the full…
5
votes
1 answer

interact with system level alert dialog in calabash ios

I am using calabash cucumber to test my iphone app. In my app i am using system level alert dialog for enabling current location. I need to identify whether there is any alert dialogs displayed on the screen. But i am not able to identify the system…
andro-girl
  • 7,989
  • 22
  • 71
  • 94
5
votes
4 answers

How to generate report in Calabash-android

How do we generate reports in calabash android ? I looked in to "The cucumber recipe" book on how to generate report. But that didn't help me completely. I want to generate report on why login failed : For eg : 1) User enter valid credential and…
Sabrish
  • 98
  • 1
  • 6
4
votes
1 answer

Calabash - iOS Simulator fails to select keyboard language

I’m novice at Calabash testing and faced an obstacle while trying to make a multi-language app. Here is my test scenario: - I select a textfield. - Enter a string with one language and then enter some text with another. And here occurs the…
4
votes
4 answers

Backdoor concept in Appium (like in Calabash) for UI testing

In Calabash you can implement a backdoor, i.e., a way to call a method in the app delegate during test case execution. This makes it possible to simulate non-UI/external events like a Bluetooth device to appear/disappear, etc. in simulator. (I…
Jens Schwarzer
  • 2,840
  • 1
  • 22
  • 35
4
votes
0 answers

Calabash error. Could not list certificates in keystore. Probably because the pass was incorrect. (RuntimeError)

I've got this problem when I type calabash-android run binary\app-debug.apk features\my_first.feature on command line in Windows over my project. This is the…
Ottenira
  • 97
  • 2
  • 12
1
2
3
39 40