a journey into test automation - anztb - … journey into test automation by... · a journey into...
TRANSCRIPT
• Whyautomation1• Whattoautomate2• Toolandenvironment3• Obstacles&solution4
• Integration5
• Demo&QnA6
Overview
• Moreregressiontesting• Shorterreleasingcycle• Repetitivesimpletests• Reliability• LimitedtestingResources• ExistingUItests
Feature Testing
ReleaseRegression
WhyAutomation
Whattoautomate(&whatnot)• Whatto:
– Repetitivetestsrunsoften– Mostbasictests
• Applicationstarts• Createmodel• Connecttodatasource• Modelprocesses
– FocusonfindingcriticalP1bugs• Whatnotto:
– Scenarioinvolvescomplicateduserinteraction– Complexdatavalidation– UIelementsthatkeepchanging
Obstacles&solution• SeleniumisFAST!• Waitinggame(explicitwait)• XpathvsCssselector• Maintainableframework• Loggingandscreenshot
Integration• Teamcity(Continuousintegration)• Octopus(Continuousdeployment)• Branchingforreleases(Git)
Otherrandompoints• Automationexposecriticalbugearly• Discoverbugnoteasilynoticedbymanualtest• GethelpfromDev• SeparationUItestprojectfromproduct