Questions tagged [calabash-ios]

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

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

Links

Requeriments

  • MacOS 10.9 or 10.10
  • Xcode 5.1.1 - Xcode 6.3
  • ruby 1.9.3 - 2.2.+

More

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

Related

207 questions
1
vote
2 answers

iOS Simulator doesn't launch with Calabash

I have Calabash installed as a pod in my project. The gem itself is installed using bundler. When I try to run cucumber for my Calabash target, the first features starts but just hangs and the simulator never launches: $ bundle exec…
Jamie Forrest
  • 10,895
  • 6
  • 51
  • 68
0
votes
1 answer

Can Calabash be used as test tool only having ipa file?

Hello Stack Overflow community, I'm planning to develop a UI test automation for an iOS application. The problem is that I don't have access to the source code but only the finished ipa file of the app. Therefore I cannot add Calabash.framework to…
0
votes
1 answer

Touch/Tap method issue when used in calabash-ios console

I have tried several times . Even in a blog post it was mention to "start_test_server_in_background" so that gesture related commands to work . I have tried that as well . still it says NoMethod Found Error touch("button id:'id_name'") even i used…
0
votes
0 answers

unable to tap the correct element on Iphone X simulator using calabash-cucumber 0.21.1

I have updated my xcode to 9 and calabash-cucumber to 0.21.1 and runloop to 2.6.1. I am trying to run my tests on IPhoneX simulator to tap on a particular element but its tapping on somewhere on the screen. It worked fine until iPhone 7. Even the…
chetan
  • 61
  • 1
  • 1
  • 6
0
votes
1 answer

Calabash ios real device connection

I am working on calabash .I am able to run the script on simulator.When I run on real device Connection refused error message is displayed.Due to security policy phone and mac are not connected to same network.Is it mandatory for the phone and mac…
0
votes
1 answer

Calabash UI Automation test

/Users/apple/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.4.1/lib/run_loop/device_agent/bin/iOSDeviceManager install --device-id acd9daeb11c04eebaeef3d2c4f14cf6e45f8cbc1 -a…
0
votes
1 answer

Calabash iPhone Simulator Change TimeZone for different feature

I want to use Calabash to run the feature in different timezones. Just to make sure that I am showing the correct data. Is there any way that i can make use of the tags @ to achieve what i want (To change the timezone in the simulator)? First time…
Perwyl Liu
  • 349
  • 4
  • 14
0
votes
1 answer

Cucumber cannot find simulator

We are writing some automated tests using Cucumber and Calabash for tests. I use Calabash for x-platform because the application is written in react-native. And I need the same tests for Android and iOS. For Android everything is fine but on iOS…
Lukáš Šálek
  • 1,265
  • 2
  • 19
  • 38
0
votes
1 answer

Calabash how to use wildcards in Ruby methods?

Trying to figure out how to use the Predicate syntax in Ruby methods ... Docs introduce the wildcard but forget to mention how to exactly use them in a query (or Ruby) so for a Calabash noob this is difficult. I tried this in Calabash iOS…
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
0
votes
1 answer

Calabash - ios : how to test a drag and drop action

I want to test an ios app in which I have to drag and drop a button. The button is located in a UIView and I have to drop it from there to another UIView. Actually the UIView which contains the button is contained to the other UIView in which I want…
0
votes
3 answers

Calabash iOS - How to clear text in a webview

clear_text doesn't work for me when testing a webview. Does anyone know of a different method for webview/cordova apps? The locator I'm using is "webView css:'input#username'" but that seems to be fine as enter_text is working. Any…
Lewis
  • 59
  • 1
  • 1
  • 7
0
votes
1 answer

Calabash iOS finding objects not on screen

I'm using xamarin calabash-sandbox, (calabash-ios 0.20.4) to test an app on an iOS simulator. When the app is on screen, query("label", :text) finds the expected objects e.g. [0] "Learn More", [1] "Skip" When I press the app's Learn More button,…
JSacco
  • 1
  • 1
0
votes
1 answer

iOS Calabash using specific scheme from the command line?

Is there a way to configure calabash to run a set of tests using a specific target or scheme for an iOS app? My specific use case uses cucumber to run the tests but I assume that if there is an option to configure calabash schemes it should work for…
glesage
  • 955
  • 2
  • 16
  • 31
0
votes
1 answer

Can run_loop use a different identifier for resigning DeviceAgent-Runner.app

Setup: Xcode 8 OSX El Capitan (10.11.6) Physical iPhone6 (iOS 9.1) calabash-cucumber 0.20.3 Run_loop 2.2.2 First I tried to start the calabash console on the physical phone, but because it didn't have the DeviceAgent-Runner.app app it tried to…
Stefan
  • 131
  • 1
  • 1
0
votes
1 answer

iOSDeviceManager cannot install DeviceAgent-Runner.app on iPhone 7

I'm running calabash-ios. My tests seem to run fine on an iPhone 6s running iOS 10 or 10.1 but when I try to plug in an iPhone 7, also runing the same iOS, Calabash installs my app fine, but when it comes to the point of installing the device agent…