Case Study: American Family Insurance Best Practices for Automating Guidewire functional, regression...

32
World ® ’1 6 Case Study: American Family Insurance Best Practice for Automating Guidewire Testing Sanket Shah - Test Automation Architect - American Family Insurance DO5X20S DEVOPS

Transcript of Case Study: American Family Insurance Best Practices for Automating Guidewire functional, regression...

World®’16

CaseStudy:AmericanFamilyInsuranceBestPracticeforAutomatingGuidewireTestingSanket Shah- TestAutomationArchitect- AmericanFamilyInsurance

DO5X20S

DEVOPS

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Sanket Shah(LeadTestAutomationEngineer)discusseshowhis30membertestautomationteamfacilitatesGuidewire functional andregressiontestingaswellasbestpractices.

Automationisanaccelerator,whichfuelsconsistency,robustnessandreliabilityinanenvironmentwheretasksaretoberepeated.Oneofthekeyadvantagesofitisinautomatedregressiontesting,whichsavesalotofeffortincarryingoutthesametestingactivitiesrepeatedly.Identifyinganyimpactedintegratedsystemsorthesourcesystemduetochange(s)infeatures/functionalityand/oradditionoffeature/functionalityinasoftwareproduct,wouldbeadauntingtaskifcarriedoutmanually(especiallywhenwewantconsistencyandwhentheAUTisintegratedwithseveralservicesattheapplicationservicelayer).

LeveragingautomatedregressiontestingwouldtakethebuildingupofAPItoawholenewlevel,thusacceleratingtheuser’sjourneythroughtheirwebapplication.

SanketShahAmericanFamilyInsuranceTestAutomationArchitect

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

CASEBACKGROUND

CHALLENGESFACED

Q&A

INITIALSOLUTION

DRAWBACK

ULTIMATESOLUTION

1

2

3

4

5

6

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CaseBackground

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

BillingandPolicyThemesatAmfam

StrategictotheBusiness

OptimizesCustomerExperience

Transformationaltothebusiness

Supportsasophisticatedpricingmodel

EnhancesAmfam'sbrandandmarketleadership

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AutoandPropertyCasualtyPolicyandBillingTestingGoals

POLICY§ Reduceunderwritingcostsby

optimizingtestcaseefficiencies

§ Improveapplicationquality/reduceriskandimpactofdefects

BILLING§ Optimizecustomere-Commerceand

Agentapplicationexperience(i.e.,ensureahighqualityuserexperience)

§ Reducetestingriskandduration:Buildautomatedtestcasestosupportthemyriadofbusinessprocesses(e.g.,billingplans,exceptionhandling,etc.)

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CurrentLegacySystems

Auto+

Property+

CustomerBillingSystem(CBS)

POLICYMANAGEMENT BILLING

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingLegacySystemstoOpenSystems

Auto+andProperty+ CustomerBillingSystem(CBS)

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

GuidewirePolicyCenter

Issuance

Changes(charges/credits)

Cancellations(non-pay/insured)

Reinstates

Rewrites

Renewals

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

GuidewireBillingCenter

§ Generateandbillinvoices§ Schedulinginvoices§ Acceptingandapplyingpayments§ Paymentreversals§ Cancellationinitiation(non-pay)§ Delinquencies§ Thirdpartyinterestbilling

management§ Disbursements

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APolicy’sLifespan

6to12months

12months

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PolicyCenter-BillingCenter Integration(Pre-Prod/Prod)

PolicyCenter BillingCenter

Database

Integration1Integration2

Integration3

Integration4

Integration5

Integration6 Integration7

Integration8

Integration9

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ChallengesFaced

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

…inTestingBillingCenter inPre-prodTiers

Differentteamstestingdifferentapplicationfunctionalities/

themesatthesametime,whichareclockdependent.

Testscenariostotestapolicy’sstateatagivenpointintime.

ClockdependencyofBCinpre-prod

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

InitialSolution

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

…toTestClockDependentScenariosinBillingCenter

BC(deployedonlocal)Simulator

(simulatingPCtransactionsusingspreadsheetsasdatasourceandsetofbatchfilestoloadthem)

LOCAL

H2

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

StepsInvolved

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

…inSettingUpBillingCenter onLocalforTestingEachScenario

StopBCifstarted DropDB StartBC Loadinitialdata

Executetestcase

(~2-3sec) (~1sec) (~5min)

(~2min)

(Repeattheflowforeachsubsequenttestscenario)

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Drawback

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

…forSettingUponLocal

Executiontimeforeachscenario:

~9-10min

Executiontimefor100scenarios:

~15-16min

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Solutionà RetesterFramework

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhatisRetester

§ In-housedevelopedautomationregressionframework

§ In-depthverificationofbillinglifecycleofapolicy

§ SimulationofpolicytransactionsthroughAPIs

§ Businessfriendlydataentryforms

§ Productionsimulationofareallifebusinesstransaction

§ Alayerofsoliditybeforerollingouttolargeraudience

§ Robust,fast,consistent,repeatable

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

…aComprehensiveBillingCenter ApplicationTestingTool

MSAccessformstoenterscenarios

Oracletostorescenariosdataand

results

Automationtoolasmastercontroller

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RetesterFramework– Highlevelworkflow

STARTGetlistofbusinessscenariostobe

executed

Executepre-batcheventsforcurrentday- allscenarios

Validatedatafortheeventspre-batchandlog

result

Advanceclockandrunbatch

Executepost-batcheventsforcurrentday– all

scenarios

Validateddatafortheevents

executedpost-batchandlog

results

Logeventsresultandvalidateresultin

adatabaseandcontinuewithnext

day

EndofTest?

No

Yes

Atendofthetest,sendcompletion

emailwithpassed/failstats

Logeventsresult,validateresultindatabaseand

continuewithnextday

END

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RetesterFramework– DetailFlowSTART Initializeday

counter

No

Yes

GetnewtestIDforeachexecution

Getmaxnumberofdaystoexecute

currDay =currDay+1

GettotalscenarioscountforcurrDay

ScenariosexistforcurrDay?

EndofDays?

Initializescenariocounter

currSce =currSce +1 A

A

EndofscenariosforcurrDay?

Gettotalpre-batcheventsforcurrDay andcurrSce

Pre-batcheventsexist?

Initializeeventcounter

*

*

currEve =currEve+1

A

AdvanceclockandrunEOD

batchNo

Yes

ScenariosExist?

No

No

GettotalpostbatcheventsforcurrDay andcurrSce

Yes

Post-batcheventsexist? No

Yes

Yes

B

END

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DevTestfromCAandRetesterFramework

UsesPolicyCenter/BillingCenter APIstoinitiatetransactions

CustomizedAPIstovalidatedataontheBillingCenterapplication

Creatingnewscenariosisassimpleasfillingupaform

Cyclesthrough100sofscenariosin<2hrs.Gainof85%

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

DO5T02PLeadershipPanel:DevOpsLeadersDiscusstheJourneytoContinuousDelivery

11/16/2016at01:45pm

DO5T03PLeadershipPanel:ContinuousDeliveryintheFinancialServicesIndustry

11/16/2016at04:30pm

DO5T14SContinuousDelivery:MakingDevOpsAwesomeNicoleForsgren– Theater5

11/17/2016at10:30am

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

ModernizeAppDeliveryIntegratedCDTheater5- DOV501P

DeliverTestDataFasterTestDataManagerTheater5- DOV511P

DeliverBetterAppsServiceVirtualizationTheater5- DOV507P

OrchestrateYourReleaseReleaseAutomationTheater5- DOV513P

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Stayconnectedatcommunities.ca.com

Thankyou.

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DevOps– ContinuousDelivery

FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu