SlideShare a Scribd company logo
3/10/14
3/10/14
Mobile Test Automation
Framework
Shankar Garg
Senior Consultant - Testing
• Problem Statement
• Features of Test
Automation Framework
• Tech stack
• Demo 1
• Did we still miss
something?
• Demo 2
• Final Solution
3/10/14
• Back in the day, one bad customer experience
would spread via word-of-mouth and reach few
Customers.
• Thanks to Social Media platforms like Twitter ,
Facebook etc. however, that same word-of-mouth
now travels at the speed of light and reaches
million users.
• The other major difference is App Store ratings.
Imagine if a poor review were stamped directly on
the packing of a product.
• These Social Media Ratings and Likes can prove to
be a make or break for the brand and product.
3/10/14
Why Quality is important
3/10/14
Current Mobile Landscape
• Frequent app releases:
• Ease of upgrading apps over the air
• Increased user expectations about
quicker releases (for bug fixes and new
features)
• OS updates like Android M and iOS 9.
3/10/14
Challenges for Mobile Test Teams
• Mobile Test Teams have to repeat
the entire test cycle for each of the
following:
• Multiple OS – Android and iOS
• Multiple Hardware – Samsung, Apple
• Lot of Regression Testing.
• Test teams are continuously tasked
with testing entire applications
faster and more often.
Solution – Mobile Test Automation
3/10/14
• Appium is Mobile Test Automation Tool
for android and iOS.
• Appium has made life easy for Mobile
Automation Teams.
• Appium has enabled test teams to use the
same code to test on
• Multiple OS
• Multiple hardware
3/10/14
Challenges for Automation Teams
• Appium is for mobile automation only
• What about Test Framework?
• Maintainability
• Reusability
3/10/14
What about Agile Testing ?
With the advent of Agile practices, Behavior
Driven Development/Testing has also
gained more popularity.
3/10/14
Mobile Test Automation Framework -Features
• Non Technical people can help in Test Automation.
• Requirements are directly converted into Test cases ( to
eliminate difference in understanding of Dev and QA)
• Supports multiple OS i.e. iOS, Android etc. ( Same tool can
be used to write test case for iOS and Android)
• Inter portability of same test cases on Multiple platform (
Same test case can be run for iOS and Android).
• Maintainability - How easy it is to change/update a test
case
• Re-usability - How easy it is to use existing code to write
new test cases
3/10/14
What’s the Solution:
• No tool alone can solve the problem mentioned
till now.
• What is needed is, the combination of tools
which can address these problems when
combined together.
3/10/14
Tech Stack
• Java
• Maven
• Appium
• Cucumber
• GitHub
• Jenkins
3/10/14
Why Cucumber?
• Cucumber Enables Non Technical team members to help
in Test Automation (by writing feature files).
• Cucumber can be implemented in multiple languages. i.e.
Java, Ruby and JavaScript.
• Cucumber can be used to implement projects in wide
business areas like enterprise web, Mobile, Web Services.
• Cucumber is very easy to install, implement and learn.
3/10/14
Why Appium?
• Support for multiple platforms iOS, Android and Firefox
OS.
• Support for Native, Web and Hybrid Applications.
• Can be implemented in multiple languages Java, PHP,
Python, Ruby, C# etc.
• No Additional Library added to AUT.
• Can be implemented with any Testing Framework i.e.
JUnit, TestNG, Cucumber etc.
3/10/14
Demo
• Application Under Test
• Feature File
• pom.xml
• Glue Code
• Appium Code
• Hooks
3/10/14
What we have achieved
• Non Technical people can help in Test Automation.
• Requirements are directly converted into Test cases ( to
eliminate difference in understanding of Dev and QA)
• Supports multiple OS i.e. iOS, Android etc. ( Same tool can
be used to write test case for iOS and Android)
• Inter portability of same test cases on Multiple platform (
Same test case can be run for iOS and Android).
• Maintainability ( How easy it is to change/update a test
case)
• Re-usability ( How easy it is to use existing code to write
new test cases)
3/10/14
Is there a problem still?
• Locators :are spread across file and if some one needs to
change a locator then he will have to make changes
at multiple places.
• we face a risk of some locators not being updated at all.
• To know at what all places the particular locator was
defined is the biggest challenge.
• Scope :There is no scope defined for a file, it may contain
function for entire application or for some part only. if a
new team member joins, then he will face hard time
finding a function already defined.
3/10/14
Page Objects:
• Framework design approach for maintaining &
accessing components & controls spread across
test scenarios.
• Page Object creates a DSL for our tests.
• if something changes on the page we don't need
to change the test, we just need to update the
object that represents the page.
3/10/14
Page Objects - Guidelines
• Each Page object Scope will be limited to one
page of the application only.
• All locators related to that page will be defined in
the page object ( all locators will be grouped at
one place, possibly on the Top so that it is easy to
find and update these).
• All behaviors associated to a page will be
described in the page object as functions.
3/10/14
Demo – Page Objects
Page Objects –Benefits
3/10/14
• The beauty of these files is that just by looking at
the code, you can relate for which part of the
application these files belong to.
• How easy it becomes to change and at the same
time how easy it is to add new functionality.
3/10/14
What we have achieved
• Non Technical people can help in Test Automation.
• Requirements are directly converted into Test cases ( to
eliminate difference in understanding of Dev and QA)
• Supports multiple OS i.e. iOS, Android etc. ( Same tool can
be used to write test case for iOS and Android)
• Inter portability of same test cases on Multiple platform (
Same test case can be run for iOS and Android).
• Maintainability ( How easy it is to change/update a test
case)
• Re-usability ( How easy it is to use existing code to write
new test cases)
picture by -bast-
Q & A
3/10/14
Thank You!!
3/10/14

More Related Content

What's hot

Designing a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutionsDesigning a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutions
QUONTRASOLUTIONS
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
Steven Li
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2
 
A Test Automation Framework
A Test Automation FrameworkA Test Automation Framework
A Test Automation Framework
Gregory Solovey
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
QACampus
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
BabuDevanandam
 
Software Automation Testing Introduction
Software Automation Testing IntroductionSoftware Automation Testing Introduction
Software Automation Testing Introduction
Narayanan Palani
 
Selenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework BasicsSelenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework Basics
Techcanvass
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniques
Zhu Zhong
 
Software Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesSoftware Test Patterns: Successes and Challenges
Software Test Patterns: Successes and Challenges
Bob Binder
 
Key Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework SuccessKey Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework Success
Ho Chi Minh City Software Testing Club
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
Ganuka Yashantha
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementation
Bharathi Krishnamurthi
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Developing a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian BayerDeveloping a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian Bayer
QA or the Highway
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
QA or the Highway
 
IGT's Intelligent Automation Framework
IGT's Intelligent Automation FrameworkIGT's Intelligent Automation Framework
IGT's Intelligent Automation Framework
greyaudrina
 

What's hot (20)

Designing a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutionsDesigning a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutions
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
 
Automated Testing
Automated TestingAutomated Testing
Automated Testing
 
A Test Automation Framework
A Test Automation FrameworkA Test Automation Framework
A Test Automation Framework
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
Software Automation Testing Introduction
Software Automation Testing IntroductionSoftware Automation Testing Introduction
Software Automation Testing Introduction
 
Selenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework BasicsSelenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework Basics
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniques
 
Software Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesSoftware Test Patterns: Successes and Challenges
Software Test Patterns: Successes and Challenges
 
Key Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework SuccessKey Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework Success
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementation
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Developing a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian BayerDeveloping a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian Bayer
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
 
IGT's Intelligent Automation Framework
IGT's Intelligent Automation FrameworkIGT's Intelligent Automation Framework
IGT's Intelligent Automation Framework
 

Similar to Mobile Test Automation Framework : Presented By Shankar Garg

Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017
Perfecto Mobile
 
Best Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App TestingBest Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App Testing
Bitbar
 
Android & iPhone App Testing
 Android & iPhone App Testing Android & iPhone App Testing
Android & iPhone App Testing
SWAAM Tech
 
Raleigh User Forum Presentation
Raleigh User Forum PresentationRaleigh User Forum Presentation
Raleigh User Forum Presentation
Perfecto Mobile
 
Automated Exploratory Testing
Automated Exploratory TestingAutomated Exploratory Testing
Automated Exploratory Testing
Justin Ison
 
Choosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for YouChoosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for You
Perfecto by Perforce
 
Justin Ison
Justin IsonJustin Ison
Justin Ison
CodeFest
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdf
QA or the Highway
 
Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014
Perfecto Mobile
 
Solving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous TestingSolving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous Testing
Perfecto by Perforce
 
Testing the UI of Mobile Applications
Testing the UI of Mobile ApplicationsTesting the UI of Mobile Applications
Testing the UI of Mobile Applications
Marco Torchiano
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
QA or the Highway
 
Testing - How Vital and How Easy to use
Testing - How Vital and How Easy to useTesting - How Vital and How Easy to use
Testing - How Vital and How Easy to use
Uma Ghotikar
 
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
Eneko Jon Bilbao
 
Thuy_Tran_Ngoc_-_SD0585
Thuy_Tran_Ngoc_-_SD0585Thuy_Tran_Ngoc_-_SD0585
Thuy_Tran_Ngoc_-_SD0585tester Tran
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and Monitoring
MobilePundits
 

Similar to Mobile Test Automation Framework : Presented By Shankar Garg (20)

Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017
 
Best Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App TestingBest Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App Testing
 
Android & iPhone App Testing
 Android & iPhone App Testing Android & iPhone App Testing
Android & iPhone App Testing
 
Raleigh User Forum Presentation
Raleigh User Forum PresentationRaleigh User Forum Presentation
Raleigh User Forum Presentation
 
Automated Exploratory Testing
Automated Exploratory TestingAutomated Exploratory Testing
Automated Exploratory Testing
 
Choosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for YouChoosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for You
 
Justin Ison
Justin IsonJustin Ison
Justin Ison
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdf
 
Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014
 
Solving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous TestingSolving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous Testing
 
Testing the UI of Mobile Applications
Testing the UI of Mobile ApplicationsTesting the UI of Mobile Applications
Testing the UI of Mobile Applications
 
Khushboo_Resume
Khushboo_ResumeKhushboo_Resume
Khushboo_Resume
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
 
RR2 CV
RR2 CVRR2 CV
RR2 CV
 
Testing - How Vital and How Easy to use
Testing - How Vital and How Easy to useTesting - How Vital and How Easy to use
Testing - How Vital and How Easy to use
 
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
 
Thuy_Tran_Ngoc_-_SD0585
Thuy_Tran_Ngoc_-_SD0585Thuy_Tran_Ngoc_-_SD0585
Thuy_Tran_Ngoc_-_SD0585
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and Monitoring
 

More from oGuild .

How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...
How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...
How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...
oGuild .
 
Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)
Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)
Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)
oGuild .
 
Webinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj KasturiWebinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj Kasturi
oGuild .
 
Leadership in Agile : by Karthik Mahadevan & Ramakrishnan Sitaraman
Leadership in Agile : by Karthik Mahadevan & Ramakrishnan SitaramanLeadership in Agile : by Karthik Mahadevan & Ramakrishnan Sitaraman
Leadership in Agile : by Karthik Mahadevan & Ramakrishnan Sitaraman
oGuild .
 
Kanban for Self Development : Presented by Sundaresan Sethuraman
Kanban for Self Development : Presented by Sundaresan SethuramanKanban for Self Development : Presented by Sundaresan Sethuraman
Kanban for Self Development : Presented by Sundaresan Sethuraman
oGuild .
 
Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula
Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula
Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula
oGuild .
 
Art of Doing Effective Scrum : Presented by Mohammed Javid
Art of Doing Effective Scrum : Presented by Mohammed JavidArt of Doing Effective Scrum : Presented by Mohammed Javid
Art of Doing Effective Scrum : Presented by Mohammed Javid
oGuild .
 
Agility Beyond Framework and Dev Team : by Anubhav Sinha
Agility Beyond Framework and Dev Team : by Anubhav SinhaAgility Beyond Framework and Dev Team : by Anubhav Sinha
Agility Beyond Framework and Dev Team : by Anubhav Sinha
oGuild .
 
Influential Leadership : Presented by Ramanathan Yegyanarayanan
Influential Leadership : Presented by Ramanathan YegyanarayananInfluential Leadership : Presented by Ramanathan Yegyanarayanan
Influential Leadership : Presented by Ramanathan Yegyanarayanan
oGuild .
 
Agile Inception Strategies : Presented by Khaarthigha Subramanian
Agile Inception Strategies : Presented by Khaarthigha SubramanianAgile Inception Strategies : Presented by Khaarthigha Subramanian
Agile Inception Strategies : Presented by Khaarthigha Subramanian
oGuild .
 
Becoming Successful Product Owner : Presented by Arne Ahlander
Becoming Successful Product Owner : Presented by Arne AhlanderBecoming Successful Product Owner : Presented by Arne Ahlander
Becoming Successful Product Owner : Presented by Arne Ahlander
oGuild .
 
Agile Transformation and The Metrics Drama : Presented by Deepak Gururaja
Agile Transformation and The Metrics Drama : Presented by Deepak GururajaAgile Transformation and The Metrics Drama : Presented by Deepak Gururaja
Agile Transformation and The Metrics Drama : Presented by Deepak Gururaja
oGuild .
 
Appreciative Enquiry : Presented by Sridharan Vembu
Appreciative Enquiry : Presented by Sridharan VembuAppreciative Enquiry : Presented by Sridharan Vembu
Appreciative Enquiry : Presented by Sridharan Vembu
oGuild .
 
Agile Vendor Management Manifesto : Presented by Gaurav Rastogi
Agile Vendor Management Manifesto : Presented by Gaurav Rastogi Agile Vendor Management Manifesto : Presented by Gaurav Rastogi
Agile Vendor Management Manifesto : Presented by Gaurav Rastogi
oGuild .
 
Design Thinking & Innovation Games : Presented by Cedric Mainguy
Design Thinking & Innovation Games : Presented by Cedric MainguyDesign Thinking & Innovation Games : Presented by Cedric Mainguy
Design Thinking & Innovation Games : Presented by Cedric Mainguy
oGuild .
 
Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful
oGuild .
 
If You Need To Run A Project You've Already Failed : Presented by Evan Leybourn
If You Need To Run A Project You've Already Failed : Presented by Evan LeybournIf You Need To Run A Project You've Already Failed : Presented by Evan Leybourn
If You Need To Run A Project You've Already Failed : Presented by Evan Leybourn
oGuild .
 
The Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain Mahe
The Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain MaheThe Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain Mahe
The Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain Mahe
oGuild .
 
Introduction to Management 3.0 : Presented by Ralph van Roosmalen
Introduction to Management 3.0 : Presented by Ralph van RoosmalenIntroduction to Management 3.0 : Presented by Ralph van Roosmalen
Introduction to Management 3.0 : Presented by Ralph van Roosmalen
oGuild .
 
Adopting a DevOps Culture
Adopting a DevOps Culture Adopting a DevOps Culture
Adopting a DevOps Culture
oGuild .
 

More from oGuild . (20)

How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...
How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...
How Scrum Master can help the team in quitting 'SMOKING' - Talk by Bhanu Golc...
 
Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)
Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)
Culture and You - Talk by Hariharaganesh (Discuss Agile Day Delhi 2019)
 
Webinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj KasturiWebinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj Kasturi
 
Leadership in Agile : by Karthik Mahadevan & Ramakrishnan Sitaraman
Leadership in Agile : by Karthik Mahadevan & Ramakrishnan SitaramanLeadership in Agile : by Karthik Mahadevan & Ramakrishnan Sitaraman
Leadership in Agile : by Karthik Mahadevan & Ramakrishnan Sitaraman
 
Kanban for Self Development : Presented by Sundaresan Sethuraman
Kanban for Self Development : Presented by Sundaresan SethuramanKanban for Self Development : Presented by Sundaresan Sethuraman
Kanban for Self Development : Presented by Sundaresan Sethuraman
 
Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula
Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula
Agile Coach: Magician Changing Mindset - by Sasnka Kiran Ravula
 
Art of Doing Effective Scrum : Presented by Mohammed Javid
Art of Doing Effective Scrum : Presented by Mohammed JavidArt of Doing Effective Scrum : Presented by Mohammed Javid
Art of Doing Effective Scrum : Presented by Mohammed Javid
 
Agility Beyond Framework and Dev Team : by Anubhav Sinha
Agility Beyond Framework and Dev Team : by Anubhav SinhaAgility Beyond Framework and Dev Team : by Anubhav Sinha
Agility Beyond Framework and Dev Team : by Anubhav Sinha
 
Influential Leadership : Presented by Ramanathan Yegyanarayanan
Influential Leadership : Presented by Ramanathan YegyanarayananInfluential Leadership : Presented by Ramanathan Yegyanarayanan
Influential Leadership : Presented by Ramanathan Yegyanarayanan
 
Agile Inception Strategies : Presented by Khaarthigha Subramanian
Agile Inception Strategies : Presented by Khaarthigha SubramanianAgile Inception Strategies : Presented by Khaarthigha Subramanian
Agile Inception Strategies : Presented by Khaarthigha Subramanian
 
Becoming Successful Product Owner : Presented by Arne Ahlander
Becoming Successful Product Owner : Presented by Arne AhlanderBecoming Successful Product Owner : Presented by Arne Ahlander
Becoming Successful Product Owner : Presented by Arne Ahlander
 
Agile Transformation and The Metrics Drama : Presented by Deepak Gururaja
Agile Transformation and The Metrics Drama : Presented by Deepak GururajaAgile Transformation and The Metrics Drama : Presented by Deepak Gururaja
Agile Transformation and The Metrics Drama : Presented by Deepak Gururaja
 
Appreciative Enquiry : Presented by Sridharan Vembu
Appreciative Enquiry : Presented by Sridharan VembuAppreciative Enquiry : Presented by Sridharan Vembu
Appreciative Enquiry : Presented by Sridharan Vembu
 
Agile Vendor Management Manifesto : Presented by Gaurav Rastogi
Agile Vendor Management Manifesto : Presented by Gaurav Rastogi Agile Vendor Management Manifesto : Presented by Gaurav Rastogi
Agile Vendor Management Manifesto : Presented by Gaurav Rastogi
 
Design Thinking & Innovation Games : Presented by Cedric Mainguy
Design Thinking & Innovation Games : Presented by Cedric MainguyDesign Thinking & Innovation Games : Presented by Cedric Mainguy
Design Thinking & Innovation Games : Presented by Cedric Mainguy
 
Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful Killing Agile Software Development : Presented by Rizky Syaiful
Killing Agile Software Development : Presented by Rizky Syaiful
 
If You Need To Run A Project You've Already Failed : Presented by Evan Leybourn
If You Need To Run A Project You've Already Failed : Presented by Evan LeybournIf You Need To Run A Project You've Already Failed : Presented by Evan Leybourn
If You Need To Run A Project You've Already Failed : Presented by Evan Leybourn
 
The Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain Mahe
The Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain MaheThe Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain Mahe
The Day I Realized I Was Not Yet An Agile Coach : Presented by Sylvain Mahe
 
Introduction to Management 3.0 : Presented by Ralph van Roosmalen
Introduction to Management 3.0 : Presented by Ralph van RoosmalenIntroduction to Management 3.0 : Presented by Ralph van Roosmalen
Introduction to Management 3.0 : Presented by Ralph van Roosmalen
 
Adopting a DevOps Culture
Adopting a DevOps Culture Adopting a DevOps Culture
Adopting a DevOps Culture
 

Recently uploaded

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 

Recently uploaded (20)

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 

Mobile Test Automation Framework : Presented By Shankar Garg

  • 2. 3/10/14 Mobile Test Automation Framework Shankar Garg Senior Consultant - Testing
  • 3. • Problem Statement • Features of Test Automation Framework • Tech stack • Demo 1 • Did we still miss something? • Demo 2 • Final Solution 3/10/14
  • 4. • Back in the day, one bad customer experience would spread via word-of-mouth and reach few Customers. • Thanks to Social Media platforms like Twitter , Facebook etc. however, that same word-of-mouth now travels at the speed of light and reaches million users. • The other major difference is App Store ratings. Imagine if a poor review were stamped directly on the packing of a product. • These Social Media Ratings and Likes can prove to be a make or break for the brand and product. 3/10/14 Why Quality is important
  • 5. 3/10/14 Current Mobile Landscape • Frequent app releases: • Ease of upgrading apps over the air • Increased user expectations about quicker releases (for bug fixes and new features) • OS updates like Android M and iOS 9.
  • 6. 3/10/14 Challenges for Mobile Test Teams • Mobile Test Teams have to repeat the entire test cycle for each of the following: • Multiple OS – Android and iOS • Multiple Hardware – Samsung, Apple • Lot of Regression Testing. • Test teams are continuously tasked with testing entire applications faster and more often.
  • 7. Solution – Mobile Test Automation 3/10/14 • Appium is Mobile Test Automation Tool for android and iOS. • Appium has made life easy for Mobile Automation Teams. • Appium has enabled test teams to use the same code to test on • Multiple OS • Multiple hardware
  • 8. 3/10/14 Challenges for Automation Teams • Appium is for mobile automation only • What about Test Framework? • Maintainability • Reusability
  • 9. 3/10/14 What about Agile Testing ? With the advent of Agile practices, Behavior Driven Development/Testing has also gained more popularity.
  • 10. 3/10/14 Mobile Test Automation Framework -Features • Non Technical people can help in Test Automation. • Requirements are directly converted into Test cases ( to eliminate difference in understanding of Dev and QA) • Supports multiple OS i.e. iOS, Android etc. ( Same tool can be used to write test case for iOS and Android) • Inter portability of same test cases on Multiple platform ( Same test case can be run for iOS and Android). • Maintainability - How easy it is to change/update a test case • Re-usability - How easy it is to use existing code to write new test cases
  • 11. 3/10/14 What’s the Solution: • No tool alone can solve the problem mentioned till now. • What is needed is, the combination of tools which can address these problems when combined together.
  • 12. 3/10/14 Tech Stack • Java • Maven • Appium • Cucumber • GitHub • Jenkins
  • 13. 3/10/14 Why Cucumber? • Cucumber Enables Non Technical team members to help in Test Automation (by writing feature files). • Cucumber can be implemented in multiple languages. i.e. Java, Ruby and JavaScript. • Cucumber can be used to implement projects in wide business areas like enterprise web, Mobile, Web Services. • Cucumber is very easy to install, implement and learn.
  • 14. 3/10/14 Why Appium? • Support for multiple platforms iOS, Android and Firefox OS. • Support for Native, Web and Hybrid Applications. • Can be implemented in multiple languages Java, PHP, Python, Ruby, C# etc. • No Additional Library added to AUT. • Can be implemented with any Testing Framework i.e. JUnit, TestNG, Cucumber etc.
  • 15. 3/10/14 Demo • Application Under Test • Feature File • pom.xml • Glue Code • Appium Code • Hooks
  • 16. 3/10/14 What we have achieved • Non Technical people can help in Test Automation. • Requirements are directly converted into Test cases ( to eliminate difference in understanding of Dev and QA) • Supports multiple OS i.e. iOS, Android etc. ( Same tool can be used to write test case for iOS and Android) • Inter portability of same test cases on Multiple platform ( Same test case can be run for iOS and Android). • Maintainability ( How easy it is to change/update a test case) • Re-usability ( How easy it is to use existing code to write new test cases)
  • 17. 3/10/14 Is there a problem still? • Locators :are spread across file and if some one needs to change a locator then he will have to make changes at multiple places. • we face a risk of some locators not being updated at all. • To know at what all places the particular locator was defined is the biggest challenge. • Scope :There is no scope defined for a file, it may contain function for entire application or for some part only. if a new team member joins, then he will face hard time finding a function already defined.
  • 18. 3/10/14 Page Objects: • Framework design approach for maintaining & accessing components & controls spread across test scenarios. • Page Object creates a DSL for our tests. • if something changes on the page we don't need to change the test, we just need to update the object that represents the page.
  • 19. 3/10/14 Page Objects - Guidelines • Each Page object Scope will be limited to one page of the application only. • All locators related to that page will be defined in the page object ( all locators will be grouped at one place, possibly on the Top so that it is easy to find and update these). • All behaviors associated to a page will be described in the page object as functions.
  • 21. Page Objects –Benefits 3/10/14 • The beauty of these files is that just by looking at the code, you can relate for which part of the application these files belong to. • How easy it becomes to change and at the same time how easy it is to add new functionality.
  • 22. 3/10/14 What we have achieved • Non Technical people can help in Test Automation. • Requirements are directly converted into Test cases ( to eliminate difference in understanding of Dev and QA) • Supports multiple OS i.e. iOS, Android etc. ( Same tool can be used to write test case for iOS and Android) • Inter portability of same test cases on Multiple platform ( Same test case can be run for iOS and Android). • Maintainability ( How easy it is to change/update a test case) • Re-usability ( How easy it is to use existing code to write new test cases)

Editor's Notes

  1. Is the knight with the shining armour Silver bullet Panacea of all problems
  2. automation test cases grow in number Regression test cases are changed frequently, that is when Test Teams starts to feel the heat about maintainability of test automation project and simultaneously adding new test cases.
  3. AppiumTest File  And these are locators only for 2 test cases, imagine what would happen if this file contains locators for the whole project.
  4. HomePage.Java AgendaPage.Java SpeakersPage.java
  5. HomePage.Java AgendaPage.Java SpeakersPage.java
  6. 23