BDD Mobile Test
Automation
Integration of Cucumber with
Appium
Confidential | Copyright © QAAgility Technologies
What is BDD
• Hint: It is not about Test Automation
BDD
Business
• Domain
driven design
Technology
• Test driven
development
describe the
behavior
of your software
in a very understandable
way
Minimal Definition
Cucumber Eclipse Setup
• Eclipse Indigo
• Java Project
• Main and Test Packages
• Resource folder for Feature Files
• Required JAR files
• Junit Test Runner
For Web Application
• Driver the web application steps using
WebDriver
– Open Source
– Active Community
– Simple API
– Extendable
– Multi-browser, Multi-plaform, Multi-OS
For Mobile App???
• Younger sibling of Selenium (WebDriver)
Setup Appium
• Install Android SDK
• Install Node.js
• Install Appium
• Install Appium Java Client
• Configure Appium in Eclipse (preferably
maven project)
Start Appium
• You can start Appium server from GUI
• Or from command line
– appium folder /node_modules/appium/bin
– Run node appium
POM.xml file to create Eclipse Project
<?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?>
<project xmlns=&amp;quot;http://maven.apache.org/POM/4.0.0&amp;quot;
xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;
xsi:schemaLocation=&amp;quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&amp;quot;>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>LATEST</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.0.14</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.0.14</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Feature file
Junit Test Runner
Test Output
Video
https://www.youtube.com/user/QAAgility
Our Service Offerings
Managed Testing Services
Build, Operate and Transfer Testing
Practices
Establish Testing Labs, TCoE’s,
Offshore Testing Centers, Execute
Testing projects and Resourcing
Test Automation
Automate Native, Web and Hybrid
Mobile Apps
Automate Web Applications
Skill Development
Agile Testing , Agile Automation Testing
Selenium Testing, Cucumber, Appium,
JMeter
Testing Process, Metrics, Fresher
Induction, ISTQB and ATA Certifications
Consulting and Performance Testing
Architect Testing Solutions
Provide Strategy (API, Big Data etc.)
Implement Transformation
Implement Open Source Performance
Testing
Our Testing DNA
 Core delivery team’s combined experience of more than 60 years
 Agile legacy of more than 20 years from extreme programming and
exploratory testing school of thought
 Early adopters and idea generators in testing community
 Best enterprise agile software testers in the world
 Extensive professional network through ATA Global Gathering, ITB Mumbai
chapter and TeStride Mumbai Conference
 Strong leadership experience in setting up Testing CoE’s for Investment
Banks, Exchanges and IT Service organisations
 Expertise in leveraging Open Source and right fit testing tools with proven RoI
and Value Creation.
 Expertise in Non-UI Test Automation
 Certified Coaches/Trainers (ATA – CP-MAT, CP-BAT, CP-AAT, PMI-ACP, SAFe,
Lean Kanban, Serious LeAP)
 Published Book on Selenium by McGraw Hill
Contact
Please contact us at info@QAAgility.com
Confidential | Copyright © QAAgility Technologies
MUMBAI
B-114, Kailash Complex,
Hiranandani-Vikhroli Link Road,
Park Site, Vikhroli (West),
Mumbai - 400079,
+91.22.4026.1540
info@qaagility.com
HYDERABAD
Plot.No.22,
Sagar Society,
Road.No.2, Banjara Hills,
Hyderabad - 500034.
+91.98852.49342
info@qaagility.com
DENMARK
1 Lindebo 7 Lej - 42,
2630 Tasstrup, Copenhagen
+45.7164.0278
denmark@qaagility.com
USA
2711 Centerville Road, Suite 400,
Wilmington, DE – 19808
+1.732.595.2340
usa@qaagility.com

QAAgility Presentation - Cucumber with Appium

  • 1.
    BDD Mobile Test Automation Integrationof Cucumber with Appium Confidential | Copyright © QAAgility Technologies
  • 2.
    What is BDD •Hint: It is not about Test Automation
  • 3.
  • 4.
    describe the behavior of yoursoftware in a very understandable way Minimal Definition
  • 5.
    Cucumber Eclipse Setup •Eclipse Indigo • Java Project • Main and Test Packages • Resource folder for Feature Files • Required JAR files • Junit Test Runner
  • 6.
    For Web Application •Driver the web application steps using WebDriver – Open Source – Active Community – Simple API – Extendable – Multi-browser, Multi-plaform, Multi-OS
  • 7.
    For Mobile App??? •Younger sibling of Selenium (WebDriver)
  • 8.
    Setup Appium • InstallAndroid SDK • Install Node.js • Install Appium • Install Appium Java Client • Configure Appium in Eclipse (preferably maven project)
  • 9.
    Start Appium • Youcan start Appium server from GUI • Or from command line – appium folder /node_modules/appium/bin – Run node appium
  • 10.
    POM.xml file tocreate Eclipse Project <?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?> <project xmlns=&amp;quot;http://maven.apache.org/POM/4.0.0&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xsi:schemaLocation=&amp;quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&amp;quot;> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>LATEST</version> <scope>test</scope> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-java</artifactId> <version>1.0.14</version> <scope>test</scope> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-junit</artifactId> <version>1.0.14</version> <scope>test</scope> </dependency> </dependencies> </project>
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
    Our Service Offerings ManagedTesting Services Build, Operate and Transfer Testing Practices Establish Testing Labs, TCoE’s, Offshore Testing Centers, Execute Testing projects and Resourcing Test Automation Automate Native, Web and Hybrid Mobile Apps Automate Web Applications Skill Development Agile Testing , Agile Automation Testing Selenium Testing, Cucumber, Appium, JMeter Testing Process, Metrics, Fresher Induction, ISTQB and ATA Certifications Consulting and Performance Testing Architect Testing Solutions Provide Strategy (API, Big Data etc.) Implement Transformation Implement Open Source Performance Testing
  • 16.
    Our Testing DNA Core delivery team’s combined experience of more than 60 years  Agile legacy of more than 20 years from extreme programming and exploratory testing school of thought  Early adopters and idea generators in testing community  Best enterprise agile software testers in the world  Extensive professional network through ATA Global Gathering, ITB Mumbai chapter and TeStride Mumbai Conference  Strong leadership experience in setting up Testing CoE’s for Investment Banks, Exchanges and IT Service organisations  Expertise in leveraging Open Source and right fit testing tools with proven RoI and Value Creation.  Expertise in Non-UI Test Automation  Certified Coaches/Trainers (ATA – CP-MAT, CP-BAT, CP-AAT, PMI-ACP, SAFe, Lean Kanban, Serious LeAP)  Published Book on Selenium by McGraw Hill
  • 17.
    Contact Please contact usat info@QAAgility.com Confidential | Copyright © QAAgility Technologies MUMBAI B-114, Kailash Complex, Hiranandani-Vikhroli Link Road, Park Site, Vikhroli (West), Mumbai - 400079, +91.22.4026.1540 info@qaagility.com HYDERABAD Plot.No.22, Sagar Society, Road.No.2, Banjara Hills, Hyderabad - 500034. +91.98852.49342 info@qaagility.com DENMARK 1 Lindebo 7 Lej - 42, 2630 Tasstrup, Copenhagen +45.7164.0278 denmark@qaagility.com USA 2711 Centerville Road, Suite 400, Wilmington, DE – 19808 +1.732.595.2340 usa@qaagility.com