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
vote
0 answers

Calabash - No launchable activity found in Android Manifest

When I run calabash-android console app-release.apk I am getting this error message. C:\Users\mihirj\Desktop\MOTO\Testing>calabash-android console…
mihirjoshi
  • 12,161
  • 7
  • 47
  • 78
1
vote
1 answer

How to write calabash features in a optimized way? Refer me any source to learn?

I am a newbie of calabash-android. i did learn how to write scripts for automation testing. please refer me some "books" or "articles" to learn how to write scripts in a optimized way.
Narasimha Reddy - Geeker
  • 3,510
  • 2
  • 18
  • 23
1
vote
1 answer

Getting "Failure [INSTALL_FAILED_NO_MATCHING_ABIS]" when tries to install apk on Xamarin Android Player

When I try to install apk on Xamarin Android Player I'm getting next error: Failure [INSTALL_FAILED_NO_MATCHING_ABIS] I use: Xamarin Android Player Nexus 5 Lollipop Android 5.1.0 - API 22 USB Debugging is allowed and it displays in attached…
1
vote
1 answer

Calabash-Android loop through ListView

I've written a feature: Feature: Open List item Scenario: As a valid user I can open list item When I press list item number 0 Then I do something... Then I go back What I would need is to open every item of ListView (not only 0th),…
Milos Pesic
  • 720
  • 2
  • 8
  • 23
1
vote
1 answer

Calabash-android: Trying to 'touch' a link that part of a sentence

One of my tests is to press on a link. The problem is that the link is part of the sentence: “to login, press here” (the “here” is the link). It won’t work if I’m trying to touch the sentence itself. -> touch(query(“* text:’ to login, press…
Nir Ortal
  • 77
  • 12
1
vote
2 answers

Looking for a way to write to a file the name of the step and the scenario

I’m writing the error/failures of my steps to a file with this function: def addToErrorFile(errorName) open('error.txt', 'a') { |f| f.puts"#{errorName}"} end This function is located in a lot of places in my test flow. To make it easier to read…
Nir Ortal
  • 77
  • 12
1
vote
1 answer

Is it possible to minimize Android app and reopen using Calabash

I'm looking for scenario in calabash which should minimize or background the app and then reopen. My test procedure is to test something on screen then minimize(which should be run in background)the app and after some seconds it should open it and…
Vaibhav Joshi
  • 211
  • 2
  • 4
  • 9
1
vote
2 answers

Is there a way for Calabash to load an app that needs to be tested onto a phone that comes from a carrier that has the app pre-installed?

For business reasons, I cannot indulge the carrier or the app, but I need to test our app on phones that already have our app pre-installed. I have no problems running my scripts on phones that do not come pre-installed with this app, only the ones…
king_wayne
  • 222
  • 1
  • 9
1
vote
1 answer

Error installing calabash-android on Windows

I am trying to install calabash-android on my windows machine but I have serious problem. I follow xamarin guide to install ruby and calabash-android and I was succeed the other day. Then when I try to create my own scenario my computer cause me…
Alper Silistre
  • 117
  • 2
  • 12
1
vote
3 answers

Calabash Android Looping through a ListView to check

I've just started using Calabash and have come across a listview. For each listview row I want to check the presence of some text and image view. However I'm unsure how can i loop through the listview? Something like foreach list_item in listview …
userMod2
  • 8,312
  • 13
  • 63
  • 115
1
vote
1 answer

Calabash - Android - Finding Ids and handling placeholders

I'm completely new to Calabash, have spent the day learning (including getting all setup). One thing i need some help with is how to find IDs with ease. So i have an Android app, which contains the placeholder text Username. I've tried the following…
userMod2
  • 8,312
  • 13
  • 63
  • 115
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
3 answers

Calabash save login credentials

I have a Android device connected to my PC. Running a calabash test I use the following command: calabash-android run .apk features/.feature Every time I run this again I also have to re-login to my applications because the credentials…
lony
  • 6,733
  • 11
  • 60
  • 92
1
vote
1 answer

Battery usage during application test

I’m looking for battery parameter in Ruby that’s tells me the usage while the app is running. I want to take the battery status snapshot in the beginning of the run, take another snapshot in the end of the run and then calculate the usage. Battery…
Nir Ortal
  • 77
  • 12
1
vote
2 answers

calabash-android passing in contentDescription into custom step definition

I am trying to pass in contentDescription into a custom step definition, with little success and I am not sure I can do it, there is very little help out there, so I am a bit lost. so I have started calabash-android console then…
Graeme Phillips
  • 131
  • 1
  • 1
  • 10