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
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
4
votes
2 answers

Calabash cannot find plist in iOS Console

I am trying to start up the test server in the calabash-ios console using start_test_server_in_background, but getting an error that it can't find the target's plist. I'm not sure what I'm doing wrong here, and I definitely see the Info.plist file…
Jamie Forrest
  • 10,895
  • 6
  • 51
  • 68
4
votes
4 answers

How can i do multiline commenting for my feature steps for Calabash with Ruby

I was trying to comment multiple steps for my calabash Feature file (Ruby) using """.I'm using # for commenting single lines for my features but cant able to do for multiple lines. Can you please suggest me any ways to comment multiple lines.I'm…
Raj Chinta
  • 93
  • 1
  • 1
  • 6
4
votes
1 answer

How to find relative WebView elements in calabash-ios / calabash-android

How can you find relative WebView elements in calabash-ios and calabash-android. I know the syntax is slightly different between the two but the issue is same. Here's an example: 1) This query is too broad: query("webView css:'div'") #…
Joe Susnick
  • 6,544
  • 5
  • 44
  • 50
4
votes
1 answer

How can we test app upgrades with Calabash?

We have been using Calabash to do integration testing for our iOS app (to be used for Android testing as well). Since we are working on v2 of the app there are certain scenarios that we would like to test work from one version to the other when…
Chris Butler
  • 733
  • 6
  • 23
4
votes
1 answer

Cucumber/Calabash-iOS and Xamarin.iOS

I try to implement UI testing with the calabash-ios testing framework. I followed all the howtos, tutorials spread on the different sites (xamarin testcloud guide, on github for the calabash-ios framework, ...) In my project folder I created the…
dannyyy
  • 1,784
  • 2
  • 19
  • 43
4
votes
3 answers

Running Calabash Android from Rubymine

Can someone post some help. I have tried different config but can't run Calabash Android tests from within Rubymine. Works on Terminal though.
Manpreet Singh
  • 3,643
  • 2
  • 18
  • 14
4
votes
1 answer

Test Automation - TeamCity + Calabash + JIRA + SpiraTest

I'm new to TeamCity/Spiratest and have the ollowing requirement: (a) We have to make TeamCity run the Calabash tests and (b) then if there is a failure have to get the defect with screenshots logged to JIRA (c) and finally update the pass/fail…
user2525211
  • 193
  • 1
  • 1
  • 12
4
votes
1 answer

calabash-ios setup clang: error: no such file or directory 'UIKit'

I am currently porting an existing mobile web application to IOS using PhoneGap. I wanted to test the IOS application using Frank/Calabash. I am currently facing the same issue using either of the test frameworks. For both Frank and Calabash when I…
jmadan
  • 197
  • 1
  • 11
4
votes
4 answers

How do i read text from an Alert(ios) in calabash

How can I access the text of an alertview on iOS in my calabash/cucumber tests? NSString *msgString = [NSString stringWithFormat:@"No: %@\n Latitude: %f\n Longitude: %f", wrapper.no, wrapper.latitude, wrapper.longitude]; UIAlertView *alert =…
David Karlsson
  • 9,396
  • 9
  • 58
  • 103
3
votes
1 answer

Why did xamarin stop supporting calabash

Right now I am using calabash for my testing if xamarin stop further development, What is the future of calabash? Is it time to move to a different framework like Appium or is someone gonna keep calabash development alive? Please help me.
chetan
  • 61
  • 1
  • 1
  • 6
3
votes
1 answer

Calabash-iOS : stack level too deep (SystemStackError) error is encountered each time an assertion is failing

I am encountering "stack level too deep (SystemStackError) " error each time an assertion is failing, no matter what is the actual :timeout_message The following examples of code are just two of the many ones that rises above mentioned error each…
Razvan
  • 33
  • 4
3
votes
1 answer

Xamarin UITests: Calabash not linked

A little background. We currently have an iOS Xamarin app as well as a suite of automation tests via Xamarin.UITests. These tests run on my local machine fine but when running in Jenkins (remote macmini) 1 of 14 tests fail with this…
Kylee
  • 1,625
  • 1
  • 31
  • 54
3
votes
1 answer

Calabash - start_test_server_in_background not launching app

These are the steps I followed - >Calabash-android console file.apk irb(main):003:0>reinstall_apps irb(main):004:0>start_test_server_in_background nil There is no error but my app is not launching. All I can see is a black screen like app is about…
mihirjoshi
  • 12,161
  • 7
  • 47
  • 78
3
votes
2 answers

Calabash: Get state of toggle switch

I am trying to get the state of a toggle switch in my native app. This is the query of the switch itself, when ON: query "Switch id:'quadrant_buzz'" and its results [ [0] { "class" => "android.widget.Switch", …
1 2
3
39 40