QR Code Scan Simulation

797 views
Skip to first unread message

Wayne King

unread,
Sep 4, 2014, 5:41:24 PM9/4/14
to calaba...@googlegroups.com
Is it possible to simulate scanning a QR code in the simulator?  As of now I am only able to do my tests on a physical device.  I read on stackoverflow that it MIGHT be possible to upload a picture of the QR code, but am not able to find any more documentation on this.  The app I am testing has to be able to read the QR code to determine the location of a venue.  Without it, my tests will not be able to proceed, through the simulator.  This is my first post here so please, be gentle.  I have tried searching Google, I can almost rehearse the entire Calabash GitHub documentation, including the wiki.  I have also read the RSPEC e-book and read the Cucumber GitHub documentation.  I'm starting to think that it's not possible to simulate scanning these codes since there is a lack of information.  Thanks agian.

Karl Krukow

unread,
Sep 6, 2014, 12:16:24 AM9/6/14
to calaba...@googlegroups.com
Hi Wayne,
Thanks for doing the thorough research before posting :)

I've not tested this exact scenario before, but I know of Calabash users that "prep" the iPhone photo library before they run tests, so it is definitely doable. Niels are you out there?

- Karl


On Thu, Sep 4, 2014 at 2:41 PM, Wayne King <kingw...@gmail.com> wrote:
Is it possible to simulate scanning a QR code in the simulator?  As of now I am only able to do my tests on a physical device.  I read on stackoverflow that it MIGHT be possible to upload a picture of the QR code, but am not able to find any more documentation on this.  The app I am testing has to be able to read the QR code to determine the location of a venue.  Without it, my tests will not be able to proceed, through the simulator.  This is my first post here so please, be gentle.  I have tried searching Google, I can almost rehearse the entire Calabash GitHub documentation, including the wiki.  I have also read the RSPEC e-book and read the Cucumber GitHub documentation.  I'm starting to think that it's not possible to simulate scanning these codes since there is a lack of information.  Thanks agian.

--
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/d/optout.

Reply all
Reply to author
Forward
0 new messages