Welcome to our first episode of Technology Corner! Technology Corner is a monthly “how-to” with some example code and a short tutorial on using it with our QA automation engineers.

For our first episode, we’ll be demoing Calabash for Native Application Android Tests.

Sample Code for Using Calabash and Gherkin to Test a Native Android Application

We’ve provided a snippet of code below for the website, and a download form below that to get the entire sample test code package for using Calabash and Gherkin to test a native Android application.

<?xml version="1.0" encoding="UTF-8"?>
<module type="RUBY_MODULE" version="4">
  <component name="NewModuleRootManager">
    <content url="file://$MODULE_DIR$" />
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
    <orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.6.1, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="calabash-android (v0.5.14, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="cucumber (v1.3.20, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="escape (v0.0.4, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="gherkin (v2.12.2, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="httpclient (v2.6.0.1, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="json (v1.8.3, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="multi_json (v1.11.2, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="multi_test (v0.1.2, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="retriable (v1.4.1, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.1.7, RVM: ruby-2.1.5) [gem]" level="application" />
    <orderEntry type="library" scope="PROVIDED" name="slowhandcuke (v0.0.3, RVM: ruby-2.1.5) [gem]" level="application" />
  </component>
</module>

Please Enter Your Email to Download the File Package:


Once you have the files, please continue watching Part 2 below!