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
2
votes
1 answer

Share @variable in step_definitions and PageObject methods possible?

Is there an easy way to reference @current_page in both the step_definition.rb files and the PageObject.rb files? Examples using the @current_page in the Calabash docs force you to always do something like: @current_page =…
slindsey3000
  • 4,053
  • 5
  • 36
  • 56
2
votes
0 answers

calabash-ios simulator stuck at 'launching took xxx seconds'

My simulator is starting up, and showing what looks like a successful launch: Launching took 6.652245 seconds Except the feature file isn't running ... it just sticks there. Could this be in simlauncher? Or maybe I have a config messed up? It was…
ether_joe
  • 1,068
  • 1
  • 13
  • 32
2
votes
1 answer

Calabash iOS launches the default simulator even after defining DEVICE_TARGET

In Jenkins I am passing the following to the shell: DEVICE_TARGET='iPhone 6 (8.1 Simulator)' cucumber features/Login_FR.feature However the cucumber script keeps launching device iPhone 5 (8.1 Simulator). When I run DEVICE_TARGET='iPhone 6 (8.1…
Laser Hawk
  • 1,988
  • 2
  • 23
  • 29
2
votes
3 answers

Swipe command in calabash iOS

Hi i have to swipe the bunch of screens and i tried some of the syntax like scroll("*",:right) swipe "left", {:query => "*"} swipe(:left) But it swipes and leave back the screen to same screen.
Lucan
  • 99
  • 1
  • 3
  • 12
2
votes
3 answers

Why can't Calabash interact with my iOS app in the simulator?

I am in the process of integrating Calabash into a large project. I have Calabash working in a test app, so I know my installation and environment are set up correctly. I am using accessibility labels and .feature files to tap buttons and type…
todd412
  • 1,308
  • 2
  • 17
  • 24
2
votes
4 answers

calabash-ios consistently times out while attempting to connect to server on physical device

xcode installation location: /Applications/Xcode.app/Contents/Developer xcode version: 6.0.1 calabash version: 0.11.0 calabash.framework version: 0.10.2 I do not have a firewall turned on I have no problems running this on the simulator Console…
scosbet
  • 23
  • 5
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

UICollectionView query

Calabash ios has the each_cell method to perform an action on each cell of a table. each_cell(:query => "tableView", :animate => false, :post_scroll => 0.1) do |row, sec| touch("tableViewCell indexPath:#{row},#{sec}") tap "back_button" end I got a…
user3363340
  • 55
  • 1
  • 9
2
votes
1 answer

Calabash iOS: Setting location does not work

I am using set_location on Calabash iOS 0.9.169, but it does not seem to take effect. This has worked earlier and I think might have broken after upgrading to 0.9.169. I am using: set_location(latitude: latitude.to_f,longitude: longitude.to_f) But…
driis
  • 161,458
  • 45
  • 265
  • 341
1
vote
0 answers

AppCenter Xamarin.Forms iOS test calabash build error

I try to test my Xamarin.Forms iOS App on AppCenter. The things that i do for that are the following: Install calabash Build the App When the app is going to be build the error message: The type or namespace name 'Calabash' does not exist in the…
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
1 answer

Calabash ios hybrid element not found

I am having a native app with a HTML content on a page.I am not able to inspect the elements in the HTML content of the iOS app.i have tried the following: query("webView css:'*'") query("WKwebView css:'*'") query("UIwebView css:'*'")
1
vote
1 answer

Not able to install DeviceAgent- No valid iOSDeveloperIdentities found on system

xcrun xcodebuild -version: 9.2 run_loop: 2.6.4 calabash-ios version: 0.20.5 iOS version: 11.2.6 Command- /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.6.4/lib/run_loop/device_agent/bin/iOSDeviceManager install…
Sankalp
  • 1,182
  • 2
  • 17
  • 22
1
vote
2 answers

Stop resetting simulator for tests

I am running Calabash-IOS on my simulator. If I type cucumber in the terminal while the application is already running, it will shutdown the whole simulator, and start a new instance of it, and then runs all the tests. It runs all my login scenarios…
1
vote
1 answer

Xamarin testcloud, ipa binary link calabash

How I can link my ipa binary with calabash, for test in xamarin test cloud without build from xcode? I currently try with the optool from command line, but not work.
cethap
  • 101
  • 4
1 2
3
13 14