model based gui testing for mobile apps 1 manoj philip mathen specialized testing consultant,...

12
MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

Upload: cameron-alexander

Post on 28-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

MODEL BASED GUI TESTING FOR MOBILE APPS

1

Manoj Philip MathenSpecialized Testing Consultant, Infosys

Page 2: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

• 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

Agenda

Page 3: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

• 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/

Insurance Domain

Page 4: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

• 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

Telecom domain

Page 5: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

Provider PerspectiveInsurance is a volume Business. Reaching out to the mass, specially in BRIC

nations is key

Cost Effectiveness

Customer PerspectiveAwareness on Benefits

Customer Satisfaction ( Reduced Quote to Claim Cycle)

Market Strategy ( Insure via Smart phones)

Page 6: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

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

• 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

SELECT POLICY FOR A 3RD PARTY FIRM

iPhoneDevice

Mobile Networ

k Provide

r

Internal DB

Google Map

Server

User Authentication

Profile Manage

ment

Service Manage

ment

Consumer Backend

Case Study

Page 7: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

• 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

Model based testing For Select policy Case

Agent Request (0, false)

User Provider

Location (300)

Location ok (1, 300)

Pol Type (400)

Pol ok (1, 300)

Page 8: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

Auto Validate vs. Auto Generation

Automated testing automates the manual test scripts MBT automates the test script generation from test designsPre defined scripts defined for basic UI navigationScripts available for major OSSimulation Validation using Device Anywhere

Page 9: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

Model Based Testing Elements

Source : IEEE , 0740-7549/2012. Model based Testing by Christof Ebert

Page 10: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

Benefits

• Higher Productivity during Test Execution

• Improved test coverage

• Savings in test maintenance ( automated)

• Model Reuse for other similar projects

Challenges

oSkill set

oHigher Effort and Cost during Test Design

oTool Selection

o LONG TERM : Higher Quality, Reduced Cost, Reduced Time to Market.

Benefits And Challenges

Page 11: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

Thank You

Page 12: MODEL BASED GUI TESTING FOR MOBILE APPS 1 Manoj Philip Mathen Specialized Testing Consultant, Infosys

About InfosysMany 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 [email protected] www.infosys.com