Weitere ähnliche Inhalte
Mehr von Impetus Technologies
Mehr von Impetus Technologies (20)
Failure Proof Test-Automation Of Mobile Apps
- 1. Impetus Technologies Inc.
Failure-proof Test Automation of
© 2014 1 Impetus Technologies
Mobile Apps
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 2. Outline
• Challenges
– Generic Challenges
– Technical Challenges
• Solution
– Test Automation
– Selection Criteria
– Types of Automations
– Enabling Automation
– Benefits
– Constraints
• Impetus Approach
• Case Studies
© 2014 2 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 3. Generic Challenges
• Diversity of device / platforms
• Hardware complexity
• Application complexity
• Carrier network issues
• Compressed software
development schedules
© 2014 3 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 4. Technical Challenges
• Large number of test cases
• API level test execution
• Verification of UI control
• Handset specific features
© 2014 4 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 5. Is Manual Testing Redundant ?
Test Automation is the use of strategies, tools
and artifacts that reduce the need of human
involvement on repetitive testing tasks
Supports – Unit, UI and Functional
testing
© 2014 5 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 6. Selection Criteria
Mobile
Automation
Testing
© 2014 6 Impetus Technologies
Data Centric Apps
(e.g. SFA,CRM and enterprise apps)
Device Capability based Apps
(e.g. LBS, Camera, Multimedia, VOIPI)
P
O
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 7. Types of Testing Automation
• Unit Testing Automation
• xUnit family of tools like JMUnit/Bunit/OCUnit
• UI Testing Automation
• VnC based tools that rely on image comparisons
• Functional Testing Automation <best approach>
• combination of unit test type scripts with
instrumentations
© 2014 7 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 8. Enabling Automation: Step by Step
© 2014 8 Impetus Technologies
Application specific test case writing
Conversion of test cases into scripts
(write / record)
Execution of test scripts on devices
Unattended test cycles
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 9. What Do We Get?
Programmable
Repeatable &
reusable
Reliable &
comprehensive
© 2014 9 Impetus Technologies
Increased
productivity.
Cost reduction
Superior
application quality
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 10. Major Constraints
Regression & negative testing
Testing device features used in app i.e. Camera,
accelerometer, GPS & Bluetooth
Call & SMS interrupts
VoiceMail or IVR based scenario
Network latency
© 2014 10 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 11. Achieving Automation
Record/playback capabilities
Push-based execution on target device
Assertions of test results on server side
Integration with OpenSource tools
© 2014 11 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 12. Our Approach- mAutomate
Configuration
© 2014 12 Impetus Technologies
Mobile Device
Modify the
Scripts
Validate
the
results
Result Report
Record & Send
Push for execution
Fetch Test Scripts
Send Output Back
Testers Machine
Mobile Test
Application
(build with MTA
library)
(MTA)
Desktop
Test Data Client
Common
Function Library
Selenium
IDE
Selenium
Server
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 13. Benefits of Our Approach
• Provides direct (key,value) pairs
• Better than screen comparison approach taken by other
VNC based testing solutions
• Test scripts are independent of device resolution and
screen sizes
• Works on low-end single VM
devices
© 2014 13 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 14. Case Study : M-CRM
The Challenge
• Maximize test coverage for a Mobile CRM solution
• Testing on different devices, technologies and
geographical locations
• Large number of test cases
Benefits
• Could achieve 90%+ code coverage
• Multiple devices tested simultaneously in different
networks
• Test cycle time reduced from 1 week to few hours
© 2014 14 Impetus Technologies
The Client
Market leader that provides
innovative solutions to
small business
Successfully Automated 90% Test Cases
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 15. Case Study : WFM
The Challenge
• Application developed on multiple platforms
• Maximum test coverage on all platforms and
different network worldwide
• Large number of test cases
Benefits
• Testing on all 4 platforms in parallel
on multiple devices
• Test cycle time reduced from 5 days to few hours
• 90%+ code coverage achieved
© 2014 15 Impetus Technologies
The Client
Leader in workforce
Management solutions with
more than 40K installations
93% Automation Achieved
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 16. © 2014 16 Impetus Technologies
About Impetus
- 17. • Strategic partners for software product engineering and
R&D
• Thought leaders in cutting-edge technologies
• Mature processes and practices that are methodical, yet
flexible
• Diverse domain expertise
© 2014 17 Impetus Technologies
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36
- 19. © 2014 19 Impetus Technologies
Thank You
Write to us at inquiry@impetus.com
Follow us on Twitter @impetustech
Recorded webinar available at
http://www.impetus.com/webinar_registration?event=archived&eid=36