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

access maps v2 with calabash-android

I am currently evaluating calabash for our app. It seems to be very powerful but I haven't found a way to access a Google Map v2 in my native android app. Retrieving the Map via query is no problem but I have not found any operations regarding…
JacobZ
  • 379
  • 3
  • 8
0
votes
1 answer

calabash-automate the app which gets opened by hitting a link from browser

I have already my calabash android set up there which is working fine. Now I have to add a scenario where in android emulator I need to open the default browser navigate to an url ( i.e https://def/l/abc) It would open the app assuming the app is…
asinha
  • 337
  • 1
  • 6
  • 24
0
votes
1 answer

Calabash 'send_key_enter' is deprecated, how to replace it?

The perform_action('send_key_enter') is deprecated as other commands in this list. How can I replace it?
lony
  • 6,733
  • 11
  • 60
  • 92
0
votes
1 answer

Checkbox checked? webView query Calabash-Android

Is there any way to determine if a checkbox is checked in a webView? Below is the query for the remember_me checkbox The value does not change because this is the value submitted with the form. Any ideas? irb(main):032:0> query("webView…
slindsey3000
  • 4,053
  • 5
  • 36
  • 56
0
votes
2 answers

getting error when use calabash-android 'run command

I have setup ruby,ant,jdk,sdk,calabash-android.but when I try: calabash-android run appName.apk it didn't work. there are some…
0
votes
1 answer

I can't query in WebView context

I'm facing a problem right now, and I need some help. I have a native app that displays in some point a webView, the class for this webView is called: org.xwalk.core.XWalkView. I'm developing in Windows and running calabash-android console, but…
Ottenira
  • 97
  • 2
  • 12
0
votes
1 answer

Cannot load Google maps

One of the options in my app is launching the google maps. The scenarios: Regular install => adb install xx.apk -> maps are loading successfully. Install it with test server -> calabash-android gen xx.apk, etc. -> the maps are not loading. In the…
Nir Ortal
  • 77
  • 12
0
votes
1 answer

Getting error while executing and calabash program

I am getting this error: D:>calabash-android run d:\Android\Apk_Files\EriBank.apk C:/Ruby21/lib/ruby/2.1.0/rubygems/dependency.rb:298:in to_specs': Could not find 'cucumber' (~> 1.3.17) - did find: [cucumber-2.0.0] (Gem::LoadError) …
0
votes
1 answer

Calabash-android: Inaccurate touch when trying to touch elements on pop-up window

I’m facing an issue with touching on elements. The issue occur when a pop-up window appears and when I’m pressing on one of the buttons nothing happen. The query recognize the element. This issue occur on physical device only (never saw that issue…
Nir Ortal
  • 77
  • 12
0
votes
1 answer

Calabash no colors in output

I have a Android device connected to my PC. Running a calabash test I use the following command: calabash-android run .apk features/.feature Doing so I always get the following error even so I have ANSICON installed. *** WARNING: You…
lony
  • 6,733
  • 11
  • 60
  • 92
0
votes
1 answer

Hold and drag elemnets

I have ID for an image (item_image) and I want to hold it and drag it to my cart which the id for the cart is (view_cart). I tried the perform_action('drag',fromX,toX,fromY,toY,steps) and I used the pan("* id:'element'", :right) which it hold the…
0
votes
1 answer

calabash-Android - multiple instances of same radioButton - how to assert?

I am testing an android form (xamarin). My script looks for a radioButton with a label ="Registered" It finds and performs action on this However there is another instance of a radioButton labelled "Registered" which is several lines below the 1st…
Graeme Phillips
  • 131
  • 1
  • 1
  • 10
0
votes
1 answer

How to keep panning only if id exists?

I'm trying to pan through a list of elements to confirm that the set minimum number of elements is there on the screen. The problem I'm running into is that 'pan' will keep going and the test will pass even if I set the minimum to a high number…
chell
  • 117
  • 8
0
votes
0 answers

GridView does not load when running Calabash test

I am attempting to run tests on my Android app using Calabash. The main screen of my app has some buttons and a grid view. Each cell of the grid view contains an ImageView. If I start the app via the Calabash console, everything looks great. All…
James Harpe
  • 4,315
  • 8
  • 47
  • 74
0
votes
1 answer

Is it possible to directly query and return 2 fields per object?

For example when querying a screen in an app, can I only return the text of an object and the center_y coordinate? So far I've gotten just the text by using the query : query("CalendarCellView", :text) but can I get just the text and center_y…
A Francis
  • 5
  • 3