a journey into test automation - anztb - … journey into test automation by... · a journey into...

11
A JOURNEY INTO TEST AUTOMATION Simon Shen Test Lead ZAP Technology

Upload: truongliem

Post on 22-Jul-2018

216 views

Category:

Documents


1 download

TRANSCRIPT

AJOURNEYINTOTESTAUTOMATION

SimonShenTestLead

ZAPTechnology

Background

•  ZAPTechnology•  Datamodellingsoftware•  Qualityteam•  Myself

• 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

Toolsandtestingenvironment•  Seleniumwebdriver•  C#•  Nunit•  Git•  VMs

Obstacles&solution•  SeleniumisFAST!•  Waitinggame(explicitwait)•  XpathvsCssselector•  Maintainableframework•  Loggingandscreenshot

Integration•  Teamcity(Continuousintegration)•  Octopus(Continuousdeployment)•  Branchingforreleases(Git)

Otherrandompoints•  Automationexposecriticalbugearly•  Discoverbugnoteasilynoticedbymanualtest•  GethelpfromDev•  SeparationUItestprojectfromproduct

DEMO

QUESTIONS?