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

How do I automate android OS functions for tests

I am using calabash-android to test my application. I would like to write tests that alter android settings and test my app against these various settings. How can I make calls into android to say "Turn on airplane mode" and test my app, or "turn…
superstar3000
  • 389
  • 5
  • 16
0
votes
1 answer

calabash-android: "y" and "center_y" coordinates offset by 222 when running query("*") through RubyMine

When running query("*") through the console on terminal I get output similar to the following. This output is correct for all intents and purposes: [ [ 0] { "id" => nil, "enabled" => true, "contentDescription"…
scosbet
  • 23
  • 5
0
votes
3 answers

Calabash android touch specific portion in a string

I have a text view with message let's say "Only this portion of the message can be clicked",where "this portion" has a clickableSpan attached to it. Is there a way I can touch only on the portion which has clickable span in the message, to verify…
Infant Dev
  • 1,659
  • 8
  • 24
  • 48
0
votes
1 answer

Found "`scan': invalid byte sequence in CP950 (ArgumentError)" while running calabash-android on windows

My executing environment: windows 7 x64, Traditional Chinese Edition rubyinstaller-1.9.3-p484 DevKit-tdm-32-4.5.2-20110712-1620-sfx calabash-android 0.5.2 The command I use: calabash-android run xxx.apk The error message I get: No test server…
Charles Wu
  • 904
  • 1
  • 9
  • 19
0
votes
1 answer

Mocking/Stubbing backend server when running Android emulator or Genymotion

I have an Android app which I am starting to run functional tests with. I'm currently looking at using Calabash and Cucumber style tests written in Ruby. What I'm looking for is a good way to mock out the backend when running these tests, so I can…
s73v3r
  • 1,751
  • 2
  • 22
  • 48
0
votes
1 answer

I'm looking for a way to assess network quality on a device before running a calabash script

Is this possible to do within calabash? I need to make this all automated and run a network assessment between scripts. If this is not possible to do with calabash, is there a way do do it using adb on android? edit: I don't want to embed this…
0
votes
2 answers

Running calabash test cases on Android simulator

I am running calabash test cases on Android simulator. My test cases work fine on device, But on simulator, when I execute a touch button action. It does not auto scroll downwards, to find the text. It simply checks on the visible screen area, and…
Mayur More
  • 951
  • 2
  • 15
  • 37
0
votes
2 answers

calabash/ruby while loop not ending

In short i have a custom step definition to scroll down a page of search results until a text string is found. It's scrolling down and finding the text string But the while loop is not ending, despite it correctly scrolling down and stopping when…
0
votes
1 answer

calabash-android: Is it possible to ignore the canned (pre-defined) steps?

How can I force calabash-android to disregard and ignore the canned (pre-defined) steps in the .../gems/calabash-android-0.5.2.pre1/lib/calabash-android/steps/ directory? Is there a way other than deleting those files?
0
votes
1 answer

ClassNotFoundException error for my application activity when using Junit or calabash

I am having problem when using automation script for android application I am using ant build tools for get apk of my application (I have problem of 64 k method so i used ant method ) Apk works fine in real device with manual testing, but when we…
0
votes
1 answer

Unable to sign apk using calabash

I am unable to sign my apk using calabash I get the following error when i try to sign/run my apk using calabash, i tried signing it using eclipse and then running it but no luck there as well. This is the verbose output when i do calabash-android…
sri85
  • 337
  • 2
  • 19
0
votes
1 answer

Calabash Android - A complete guide

I am new to Calabash - Android. I set up the environment. I would be really grateful if an expert in this arena , who is thorough with the whole concept, could help me with this. I found many IDEs like Eclipse, IntelliJ and editors like Sublime,…
user2037157
  • 3
  • 1
  • 3
-1
votes
2 answers

Ruby: How can I repeat steps on Cucumber?

I want to add 100 names in the list. I'm using Calabash, so I have the .feature file: When I fill the item field with "3" And press the button Adicionar And I repeat the previous 2 steps 100 times My .rb file: ... When(/^I repeat the…
gopp
  • 23
  • 6
-1
votes
1 answer

cannot load such file -- 2.3/gherkin_lexer_en,please let me know how to fix this in windows?

cannot load such file -- 2.3/gherkin_lexer_en Couldn't load 2.3/gherkin_lexer_en The $LOAD_PATH…
jash
  • 1
  • 1
-1
votes
1 answer

Difference between cucumber run and calabash-android run command?

Please clarify when do we use $cucumber run and when do we use $calabash-android run test.apk
DUDE_MXP
  • 724
  • 7
  • 24
1 2 3
16
17