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

Pass cmd line args to app with Calabash-ios

I'm using calabash-ios for test automation and I'm struggling with passing command line args to my iOS app on startup. I'm no Ruby programmer but looking through the source prompted me to try appending the cmd line args to the APP path. I tried…
Cliff
  • 10,586
  • 7
  • 61
  • 102
1
vote
2 answers

Calabash-iOS not starting server

So I used to have calabash working fine, but now have to do some more automated UI testing and am trying to get it working again. I upgraded my version and it seems that Calabash no longer starts the server! Instead of seeing Starting LPHTTPServer…
Bill L
  • 2,576
  • 4
  • 28
  • 55
1
vote
3 answers

How can I click on a pop-up confirmation button with calabash-ios?

I'm new to Calabash-iOS automated testing, but need to get automation in place quickly. The app I'm working on has a pop-up cancel/confirm message when logging out. I've tried every way I can find to click the confirm button in the pop-up but I…
Chris Traynor
  • 460
  • 1
  • 5
  • 14
1
vote
1 answer

Sending uia command "target.deactivateAppForDuration()" in calabash-ios consolre returns error message

I am creating some iOS automation tests. When I call send_uia_command :command => "target.deactivateAppForDuration(5)" in calabash-ios console, the app goes to background, after duration background app screen is opened and I get the following…
Krumons
  • 61
  • 7
1
vote
1 answer

invalid byte sequence in UTF-8 (ArgumentError) calabash-cucumber

After following the fast track setup guide for calabash-ios without any issues I receive an error when trying to run cucumber in the project folder. I receive the following error with verbose and backtrack flags Code: * features/support/env.rb *…
1
vote
1 answer

Calabash iOS: How to query for all views at offset

Is there any way in Calabash to get all views in at some location? for example: query(nil, :offset => {:x => 50, :y => 50})
Ezio
  • 183
  • 8
1
vote
2 answers

Where is the calabash_steps.rb file?

I am new to calabash and working with it since past few months. When I execute the pre-defined step I get below path "# calabash-cucumber-0.11.4/feature/step-definitios/calabash-steps.rb" I know its associated with my workspace somehow but I am not…
jsborn17
  • 455
  • 1
  • 7
  • 12
1
vote
1 answer

Jenkins unable to run Calabash-iOS in the simulator

I am trying to run some test in the emulator using Jenkins, but whenever I start Cucumber, the script stop trying to launch UIAutomation. Here are some facts: I am using the last version of Cucumber, Calabash-ios and Run Loop Jenkins is running…
pasine
  • 11,311
  • 10
  • 49
  • 81
1
vote
1 answer

Xcode command line build and archive error

I am trying to build and archive project to create .ipa via commandline using below command $ xcodebuild archive -project test.xcodeproj -scheme "Test" -archivePath /build but it gives below error ** ARCHIVE FAILED ** The following build commands…
Praful Kadam
  • 372
  • 6
  • 22
1
vote
0 answers

Calabash iOS error when I try to run the test suite: uninitialized constant Calabash::Cucumber::VERSION

When I try to run my test suite I get this error: uninitialized constant Calabash::Cucumber::VERSION (NameError) /Users/Dexter/.rvm/gems/ruby-2.1.2/gems/calabash-cucumber-0.14.3/lib/calabash-cucumber/launcher.rb:1041:in…
RantriX
  • 1,017
  • 1
  • 10
  • 18
1
vote
1 answer

calabash-ios in CircleCI how to find App Bundle Path

I am trying to run calabash-ios in CircleCI. I am getting the following error. Is there a way to find out the path or file location that should be used? Error message is attached below. Error... Unable to find APP_BUNDLE_PATH. Cannot find a built…
haitham
  • 3,398
  • 6
  • 21
  • 35
1
vote
1 answer

calabash-ios physical device test, app starts but crashes

Running calabash-ios cucumber for simple iPhone app. Simulator is working perfectly. When trying on physical device, app loads, crashes, then loads again, and crashes again, on a loop. Error message: Unable to start. Make sure you've set…
haitham
  • 3,398
  • 6
  • 21
  • 35
1
vote
0 answers

anything similar to set_preferences for calabash ios

I am testing a scenario where on third visit the 'give the feedback' form appears. For android I've used the set_preference method to set the variable ( 'VisitCount' => 2) .Then I am just visiting once and then I see the 'give the feedback'…
asinha
  • 337
  • 1
  • 6
  • 24
1
vote
1 answer

Calabash testing on iOS device starts app but freezes on "Scenario"

I have been trying to use Calabash to test some simple iOS apps. I was able to run the app on the simulator and all steps work fine. Now I want to test it on an iOS device, but I am having some problems. I run this command with all the necessary…
makeMonday
  • 2,303
  • 4
  • 25
  • 43
1
vote
2 answers

how to swipe from page to page on an iOS pagination view using calabash

I could not get swipe left to work to go from view to view. so I am now trying to use the pagination dot at the bottom of the screen to change the view. Can someone please tell me how i can touch dot 'n' using calabash? I am going to go back to the…
s5v
  • 495
  • 5
  • 20