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

Launching a specific simulator in irb using Calabash iOS

I am using Calabash for iOS testing and when I go into calabash-ios console, open the irb and enter start_test_server_in_background it launches the simulator. The problem that I am having is its building a simulator that I don't want to work with…
Laser Hawk
  • 1,988
  • 2
  • 23
  • 29
1
vote
3 answers

Calabash Error - superclass mismatch for class AuthenticationPage

I am new to Ruby/Calabash and managed to set a dedicated calabash automation framework for ios with a page object model pattern and its running successfully. I want to extend the same framework for android too. I created a dedicated folder for ios…
Vinee
  • 402
  • 2
  • 10
  • 27
1
vote
0 answers

Calabash tests are often stuck on starting server if being executed over Wi-fi

General description of a problem: Because of project specific (iDevice has to be connected to the external hardware via Lightning port) we have to execute our pack of tests over Wi-fi. There is dedicated Macbook Pro(early 2011) with Yosemite…
1
vote
1 answer

Is there a NOT operator in calabash query syntax?

The title pretty well covers my question. How can I (for instance) obtain all the TextView elements whose IDs do NOT CONTAIN "some_prefix"? I can obtain all TextView elements and iterate over them, kicking out the ones I don't like (and I probably…
Carl Manaster
  • 39,912
  • 17
  • 102
  • 155
1
vote
1 answer

app crashes the first time i run cucumber after i reset the simulator on iOS

i get the following error when i run cucumber for the first time after i reset the simulator on iOS: Could not parse response ''; the app has probably crashed (RuntimeError) the second scenario also fails with the following error: Retrying..…
s5v
  • 495
  • 5
  • 20
1
vote
2 answers

Distinguishing between UIScrollViews in Calabsh iOS

I'm working on testing an iOS app with Calabash, and ran into the problem where the command scroll 'UIScrollView', :down scrolls down the wrong view, since the first view it finds is a UIPageViewController, not the scrollview inside it. Is there any…
Samuel Neugber
  • 1,041
  • 1
  • 11
  • 17
1
vote
1 answer

What is the id that the calaba.sh-ios query gets based on?

When I use the query to pull the elements on the screen one of the attributes it gives me is id, however I can not find what determines its value. It is not the Restoration ID nor the Object ID. In some places it is the same as the background image…
Derek Nagy
  • 48
  • 5
1
vote
1 answer

is there a way to select one target when you have more than one calabash target in an iOS project

i have 2 target setup for calabash in my iOS project. i want to know how i can select one target and run cucumber for that target from the console. when i run, cucumber only runs on the app that was most recently built.
s5v
  • 495
  • 5
  • 20
1
vote
1 answer

change path of screenshot taken by calabash in ios simulator on scenario failure using ruby

i am using calabash to do testing on a iOS native app. calabash takes a screenshot and names it screenshot_0 on scenario failure and saves it in my project directory. i want to know how i can change the path of the screenshot and how i can change…
s5v
  • 495
  • 5
  • 20
1
vote
1 answer

Is there any tool for blackbox testing code coverage in Xamarin based project with calabash test

I am looking for tool for blackbox testing code coverage in Xamarin based mobile app project with calabash test?
Mesh
  • 193
  • 1
  • 7
1
vote
1 answer

Is there a way to simulate app being killed?

I was wondering if it is possible to simulate a killed app (manually we double press Home button and swipe the app window off the screen) using Calabash-ios framework. And then relaunch the app. Thank you.
piratmc
  • 21
  • 1
1
vote
1 answer

Touch does not respond in Calabash-ios Xcode 6.1.1

Recently started with Calabash on iOS. I have a simple code that does a touch("label marked:'Username'") and then uses keyboard_enter_text to enter the text, but for some reason when I run this via cucumber from command line or without setting…
PTeng
  • 23
  • 3
1
vote
1 answer

Code coverage :calabash test with Sonarqube

Can we use Sonarqube for code coverage with calabash test? If not, which tool can be used for code coverage with calabash test ?
Mesh
  • 193
  • 1
  • 7
1
vote
2 answers

calabash-cucumber :How to force fail calabash step if the scenario takes long time or might be got hanged

Calabash test hangs in between the scenarios when test run for long time, i was expecting scenario to timeout if any condition didn't met. however that also not happening so that test move on to next scenario. Is there a way i can implement in my…
Mesh
  • 193
  • 1
  • 7
1
vote
1 answer

0.11.4 Touch seems off target in landscape orientation

Originally we had automated tests working and running continuously back in August. After a lapse they became out of date and we had to put them on hold. I'm trying to get them working again and after updating Calabash-ios, the calabash server, and…
jsmall
  • 11
  • 2