Running Calabash-ios and Calabash-android together

283 views
Skip to first unread message

Adham Selman

unread,
May 15, 2013, 4:45:07 PM5/15/13
to calaba...@googlegroups.com
Hello,
I was wondering if anyone attempted to run both tools at the same time. What i mean is i have an app that runs on both ios and android and was wondering if it is possible to create a test that interacts with both devices. For example deviceA (iphone) sends a message and verify on deviceB (android) that the message was received. Does anyone have any ideas?

Also if i run a cucumber test, it doesnt seem obvious to me where the calabash setup happens.
Thanks

Krukow

unread,
May 16, 2013, 3:30:50 PM5/16/13
to calaba...@googlegroups.com
The guys at HailoCap have a cool Calabash test where they test two different apps against each other, i.e., a driver/taxi app and a customer app. Customer is at tower of london, driver is at a pub, Customer hails, driver takes ride, etc. It should be possible to do the same thing with iOS and Android. I've not tried this though. It should be doable and make for a fun demo+blog post :)

- Karl

Adham Selman

unread,
May 16, 2013, 5:37:50 PM5/16/13
to calaba...@googlegroups.com
The end goal is to be able to be able to have one test that is able to talk to an ios and android device, but for know i am trying to get it to work with drb.

What calabash object would i have to attach the drb server to to be able to call all the calabash api remotely?


--
You received this message because you are subscribed to the Google Groups "calabash-ios" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calabash-ios...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

John Bateman

unread,
May 17, 2013, 12:23:03 AM5/17/13
to calaba...@googlegroups.com
I work for a competitor of Hailo called Flywheel and I have ios and android scripts choreographed beautifully. It is not one script, but rather two scripts running independently and architected and timed to play nicely together. Yep, my passenger hails from his iOS device and my driver responds with his Android device, the picks up the passenger and drives him to his location while the passenger adjust the tip on his device. They complete the ride and the financial part of the transaction is completed and everyone is happy. And I am happy because I have automated the process. We'll hook up next time the calabash creators are in San Francisco and I'll show them how wonderfully I am leveraging their app.


--
You received this message because you are subscribed to the Google Groups "calabash-ios" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calabash-ios...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Sincerely,

John Bateman
415.652.8322

Peter Hodgson

unread,
May 17, 2013, 1:15:41 AM5/17/13
to calaba...@googlegroups.com
This is a great story! You should totally blurgh about this, if only so I can link to the blog post :) :)
Pete Hodgson
Señor Consultant!

@ph1
cell: 707-206-8897
skype: thepete


Adham Selman

unread,
May 17, 2013, 7:46:45 AM5/17/13
to calaba...@googlegroups.com
Is there somewhere where i can access the World (this thing: 

#<CallbackWorld+Cucumber::RbSupport::RbWorld+Calabash::Cucumber::...) outside of a step? I tried to place the drb server code in AfterConfiguration but i couldnt access it.

Krukow

unread,
May 18, 2013, 6:46:55 AM5/18/13
to calaba...@googlegroups.com
Wow - that is a cool story. You should record a video of that running to supplement the blog post :)


Perhaps you could guide the original poster about the details of setting this up (or write that in the blog :)

- Karl 

John Bateman

unread,
May 18, 2013, 6:25:36 PM5/18/13
to calaba...@googlegroups.com
Ah, but my story has a taken a bad turn. Recently I am getting the "Beach ball of death" on the Android emulator on my Mac Powerbook. Consistently. I welcome suggestions as to fix this. Close other apps and reboot? I thought that was a microsoft remedy. More RAM?

I won't be publishing any video of the choreographed test. I would rather my competitors NOT know what the next release of our software looks like. It's way cool.

Krukow

unread,
May 20, 2013, 1:40:44 PM5/20/13
to calaba...@googlegroups.com


On Sunday, May 19, 2013 12:25:36 AM UTC+2, JohnB415 wrote:
Ah, but my story has a taken a bad turn. Recently I am getting the "Beach ball of death" on the Android emulator on my Mac Powerbook. Consistently. I welcome suggestions as to fix this. Close other apps and reboot? I thought that was a microsoft remedy. More RAM?

I won't be publishing any video of the choreographed test. I would rather my competitors NOT know what the next release of our software looks like. It's way cool.

Beach ball of deat - I'm not familiar with this, but I'm assuming it's not at Calabash thing :)


Fair enough on the video - perhaps you can publish that after it is released.

 Karl

John Bateman

unread,
May 21, 2013, 9:13:53 AM5/21/13
to calaba...@googlegroups.com
The "spinning beach ball of death" is detailed at http://www.thexlab.com/faqs/sbbod.html . The advice is to "examine the logs"   I will research exactly where those logs are. 
Reply all
Reply to author
Forward
0 new messages