model based gui testing for mobile apps

advertisement
MODEL BASED GUI TESTING FOR
MOBILE APPS
1
Manoj Philip Mathen
Specialized Testing Consultant, Infosys
Agenda
• Background : Insurance Domain
• Insurance Industry and Mobile Apps
• Software Migration to Mobile Apps
• SOA Based Applications on Mobile Devices
• MBT for Apps on Mobile Devices
• Benefits & Challenges
Insurance Domain
• World wide insurance premium in 2010 ( the latest data
available) ~$4.33 Trillion
•
•
•
•
•
6.89% of Global GDP
USA : $ 1.16 Trillion
China : $215 Billion
UK : $310 Billion
India : $ 78 Billion
Source : Survey by Swiss Re (Global Leading Insurance firm) http://www.swissre.com/sigma/
Telecom domain
• 5.9 billion mobile subscribers ( 80% of the world population)
• 1.2 billion mobile web users world wide
• Mobile devices account for 8.49 percent of global website hits
Source : http://mobithinking.com/mobile-marketing-tools/latest-mobile-stats
Market Strategy ( Insure via Smart phones)
Provider Perspective
Insurance is a volume Business. Reaching out to the mass, specially in BRIC
nations is key
Cost Effectiveness
Customer Perspective
Awareness on Benefits
Customer Satisfaction ( Reduced Quote to Claim Cycle)
Case Study
SELECT POLICY FOR A 3RD PARTY FIRM
Client Description:
Insurance Broker
Scope:
Development of Quote Generator
Application with the following features
for iPhone:
• Get Nearby Agents
• To find the list of all agents /
providers nearby (~1km) to the
user’s current location and to
show the route to reach the
selected office
Mobile
Network
Provider
iPhone
Device
User
Authentic
ation
Profile
Managem
ent
• Agents by Location
• To find agents in the area of
user’s interest by entering the
Zip code & landmark and also
to get the route to reach the
selected store
Service
Managem
ent
Consumer
Internal
DB
Backend
Google
Map
Server
Model based testing For Select policy Case
• SOA architecture. Services were exposed for consumption
• Services owned by up/down stream Policy admin system
• Services were Virtualized (modeled) using wsdl
• Functional and Performance testing done on the service images
• MBT helped in automated and systematic generation of test cases
Provider
User
Agent Request (0, false)
Location (300)
Location ok (1, 300)
Pol Type (400)
Pol ok (1, 300)
Auto Validate vs. Auto Generation
Automated testing automates the manual test scripts
MBT automates the test script generation from test designs
Pre defined scripts defined for basic UI navigation
Scripts available for major OS
Simulation Validation using Device Anywhere
Model Based Testing Elements
Source : IEEE , 0740-7549/2012. Model based Testing by Christof Ebert
Benefits And Challenges
Benefits
• Higher Productivity during Test Execution
• Improved test coverage
• Savings in test maintenance ( automated)
• Model Reuse for other similar projects
Challenges
o Skill set
o Higher Effort and Cost during Test Design
o Tool Selection
o LONG TERM : Higher Quality, Reduced Cost, Reduced Time to
Market.
Thank You
About Infosys
Many of the world’s most successful organizations rely on Infosys to deliver measurable business value. Infosys provides business
consulting, technology, engineering and outsourcing services to help clients in over 30 countries build tomorrow’s enterprise.
For more information about Infosys (NASDAQ:INFY), visit www.infosys.com.
For more information, contact askus@infosys.com
www.infosys.com
Download