Questions tagged [calabash-android]

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

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

Links

More

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

Related

249 questions
-1
votes
1 answer

Airplane mode simulation on a real Android device with calabash-android

In part of my testing I’m checking if my app can handle returning from airplane mode to normal mode. Looking for a process that enable/disable airplane mode on real Android device. All I found is how to enable/disable WiFi and data on simulator…
Nir Ortal
  • 77
  • 12
-1
votes
1 answer

Calabash not considering changes to the core files

The screenshots taken by Calabash has numbers appeneded at the end to make it unique. I am looking to remove this and just want the filename without these auto generated number. As mentioend in the question at CALABASH - Renaming screenshot…
Purus
  • 5,701
  • 9
  • 50
  • 89
-1
votes
2 answers

Calabash-android: How do I read text which comes from an API?

I want to read the text which comes from API end, When I query (query("*")) it does not appear on the calabash-android console. wait_for_text(text, timeout: 10) does not work either.
-1
votes
1 answer

Calabash-Elements are not identified using Query command, but identified using UIAutomator.bat

I am using Calabash automation tool for one of the client application (android) testing. i am facing the following issue: my script is failing because Elements in login page are not identified using query command (query("*")), but the same elements…
srinivas
  • 1
  • 1
-1
votes
1 answer

get logcat of the android app by ruby?

is there any way to get a logcat by using ruby? actually, I use calabash-android framework in order to write some acceptance tests of the android app. However, I have to get the logcat. There is a parametr to use for authenticating in the app.
Leo
  • 1,787
  • 5
  • 21
  • 43
-1
votes
1 answer

Ruby/calabash: undefined method `each' for 2:Fixnum (NoMethodError)

I'm stuck with an error while creating some auto test in calabash. So my code is: Then /^I set some site$/ do arr=["Google.com","Youtube.com"] for i in arr.length { touch("* id:'browserActivity_linLout_toolbar_url'") sleep 5 …
Alex
  • 11
  • 2
-2
votes
1 answer

Cucumber high-level step definition - syntax error, unexpected tIDENTIFIER, expecting keyword_end

I've followed Reuse Cucumber steps. I'm a noob when it comes to Ruby and Cucumber. I'm using calabash-android 0.9.0 and cucumber 2.4.0 My calabash_steps.rb: require 'calabash-android/calabash_steps' Then /^I add the 1st bestsellers product to…
ericn
  • 12,476
  • 16
  • 84
  • 127
-5
votes
1 answer

calabash-android: click on image by name

Is that possible to click on image to open the dialog box. because I want to open dialog box by clicking on image which has only name, there is no other property associated with that image. To get this issue I tried with x,y co-ordinate method as…
Vaibhav Joshi
  • 211
  • 2
  • 4
  • 9
-6
votes
1 answer

Error while using ruby cucumber and calabash?

/usr/bin/ruby -EUTF-8 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /usr/bin/cucumber /Users/aalra01/RubymineProjects/wendys-android/Wendys/features/menu/menu.feature --format Teamcity::Cucumber::Formatter --expand --name "^The menu…
1 2 3
16
17