48
Special Interest Group in Software Testing (SIGiST) 17 Nov 2016 Auckland Ronak Panchal and Nigel Saunders Copyright © ANZTB

Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Special Interest Group in Software Testing (SIGiST)

17 Nov 2016

Auckland

Ronak Panchal and Nigel Saunders

Copyright © ANZTB

Page 2: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

5:30pm ANZTB update

5:40pm Automation Frameworks For Beginners by Vyom Gulia

6:15pm Networking & Refreshments

6:45pm Testing with Service Virtualisation Tools by Sunil Khutan

7:20pm Close

Copyright © ANZTB

Page 3: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Please be aware that ANZTB may be taking photos of this event for marketing and social media purposes. If you do not wish to be included in the photos please notify the photographer.Thank you.

Copyright © ANZTB

Page 4: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright c© ANZTB

ANZTB is a non-profit organisation and a member of the International Software Testing Qualification Board (ISTQB).

ANZTB’s mission is to support, improve and advise software testing profession within Australia and New Zealand.

Australia New Zealand Testing Board

Page 5: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

Team ANZTB

Board Members

• Ian Ross, Chair – Christchurch

• Marie Walsh, Vice Chair – Brisbane

• Nigel Saunders, Treasurer – Auckland

• Graeme Mackenzie – Wellington

• David Fuller – Sydney

• Stanley Johannes – Christchurch

• Leanne Howard – Sydney

• Sarah Benstead – Perth

• Steve Toms – Sydney

• Sarah Benstead – Perth

Associate Members

• Anne Carter – Adelaide

• Ronak Panchal – Auckland

• Veronica Belcher – Brisbane

• Nathan Bligh – Canberra

• Michael Pollino – Melbourne

Honorary Members

• Chris Carter - Sydney

• David Hayman - Auckland

Page 6: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

https://twitter.com/ANZTBTweet now #ANZTBSIGIST

https://www.facebook.com/ANZTB/

Company: https://www.linkedin.com/company/anztbGroup: https://www.linkedin.com/groups/2260082

http://bit.ly/ANZTBFlickr

http://anztb.org

Page 7: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

ANZTB

SIGiSTs

Conference

Assist ISTQB Int. working

groups

ISTQB Partnership

Program

Training Provider

Accreditation

ISTQB Exam syllabi

Create & run exams

Certifications

Page 8: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

SIGIST

Copyright © ANZTB

Auckland

Wellington

Sydney

Melbourne

Christchurch

Brisbane

PerthAdelaide

Canberra

Please speak to your facilitator if you would like to get involved.

• SIGiSTs are sponsored by ANZTB• Discuss white papers, new trends in

Testing, share information and networking

• About 30 SIGiST in a year• Presentations on the ANZTB website

Page 9: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

ANZTB Test 2017 Annual Conference

Theme: Testing for Tomorrow

When: Friday 5th May, 2017Where: Intercontinental Wellington, New Zealand

This one-day event will feature local and international testing experts, discussing the latest advances in the profession.For more details and registration visit www.anztb.org in coming months

Page 10: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

Certification Paths

Page 11: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

ANZTB Accredited Training Providers

ANZTB and ISTQB Partner Programhttp://anztb.org/aboutus.php#PartnerProgram

ANZTB participates in ISTQB international working groupshttp://www.istqb.org

Page 12: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Presentation 1

Automation Frameworks For Beginners by Vyom Gulia

Copyright © ANZTB

Page 13: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Automation FrameworksFor Beginners

Page 14: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Agenda

What is Automation Framework

Features of Framework

Types of Frameworks

Components of Framework

Framework Architecture

Framework Approach

Automation Framework Pitfalls

Are we nearly there yet?

Page 15: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Set of Rules

Uniformity

Efficient

Seamless Integration

What is Automation Framework?

Page 16: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Features of Framework• Tool Independent

• Technology/ Language IndependentPortable

• Ease of designing tests across platforms

• Can be implemented easily in different environmentScalable

• Use of reusable components

• Test optimizationModular

• Easy to update test scripts

• Easy to update function libraries, object definitionsMaintainable

• Efficient error handling mechanism

• Accurate ReportingRobust

• Ease of use for a new team member

• Ease of integration with different systems in projectsUsability

Page 17: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Types of Automation Framework

Record and Playback

Data Driven

Keyword Driven

Hybrid

Page Object Model

Page 18: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Driver Script

Test Automation

Suite

Tool Specific Libraries

Object Repository

Function Libraries

Data Source

Reporting

Error Handling

Components of Framework

Page 19: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Error Handling

Test Automation Scripts

Application Under Test

Inte

ract

ion

wit

h A

UT

Common Functions

Project specific Functions

Object Repository

Driver Script

Reporting

Data Source

Tool specific Libraries

Framework Architecture

Page 20: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Framework Approach

Proof of Concept

Identify 1-2 end to end scenarios

Identify AUT compatibility with tool

Automate the scenarios

Consolidate and compare the results for selected tools

Implement

Identify scenarios to automate

Create/Import function libraries

Create object repository and data source

Dry run

Analyze

Select 2-3 automation tools

Identify test data requirements

Identify Test Management Tool

Identify Reporting requirements

Understand

Educate the project stakeholders

Identify automation scope

o TDD/BDD

o CI/CD

o Regression

Page 21: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Overuse of tools/technologies

Complex frameworkOver thinking Automation Framework

Try to achieve 100 % automation

Automation will replace functional

testing

Automation Framework Pitfalls

Page 22: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Have you followed coding standards def ined for the language you are using? Have youimplemented proper comments wherever required?

Are your test scripts optimized. Is it sti l l possible to make any action/scripts/componentreusable?

Are you writ ing different test scripts for same test cases to be executed in differentbrowsers/platforms?

Is test execution report providing suff icient information to be shared with stakeholders ( projectmanagement, developers and test team)?

Is it possible to implement the same framework with minor changes in project with differenttechnology?

Is it what you desired?

Are we nearly there yet?

Page 23: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Thank You

Page 24: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

Networking and RefreshmentsWe will resume at XX:XX

Page 25: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Presentation 2

Testing with Service Virtualisation Tools by Sunil Khutan

Copyright © ANZTB

Page 26: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Testing with Service Virtualisation Tools

Sunil Khutan

Technical Test Consultant

26

Page 27: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Overview

27

Common Issues SV Benefits DevOps Methodologies

Tools Summary Questions

Page 28: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Project Issues

28

Page 29: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

29

Common Project Issues

Issues

Third Party Integration Constraints

Time / Budget

Project / Application / Environment

Dependencies

Changing Requirements

Resource / Specialist Shortage

Unavailable integration

Points

Data / Configuration

Problems

Page 30: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

30

Dependencies

Database

Mainframe Project

VIRTUAL TEST ENVIRONMENTS

Middleware

System under test/development

Application

Page 31: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Service Virtualisation

31

Page 32: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

32

Service Virtualisation…“…is a simulation of an integration point or application”

trademe DB

Request: iPhone Charger

Virtual Service

System under test/development

Response: List of iPhone Chargers

Request: iPhone Charger

Virtual Response: List of iPhone Chargers

Page 33: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

33

How it Works…

trademe DB

http://api.myapplication.co.nz/v1/Categories?Iphone%20Chargers&price=$50-$100

SVT

Response:

{

“Category": “Electronics",

“SubCategory": “Chargers",

“Cost": “50-100",

"Count": 25,

"IsRestricted": false,

"HasLegalNotice": false,

"HasClassifieds": false,

"AreaOfBusiness": 0

}

http://api.myapplication.co.nz/v1/Categories?Iphone%20Chargers&price=$50-$100

Response:

{

“Category": “Electronics",

“SubCategory": “Chargers",

“Cost": “50-100",

"Count": 25,

"IsRestricted": false,

"HasLegalNotice": false,

"HasClassifieds": false,

"AreaOfBusiness": 0

}

Page 34: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Business Benefits

34

Page 35: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

35

Benefits of Service Virtualisation

Benefits

Infrastructure

Performance Engineering

Manual Testing

Test Automation

Shift Left

Quality

Test Data

Digital / IoT

Page 36: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

DevOps

36

Page 37: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

37

DevOps Model

Code

Build

Test

PackageRelease

Configure

Monitor

Page 38: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

38

DevOps & Service VirtualisationContinuous Integration | Continuous Testing | Continuous Delivery

DEV

SUT

SIT

SUT

QA

SUT

PROD

SUT

SPEED TO MARKET

SHIFT LEFT

Page 39: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Testing Methodologies

39

Page 40: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

40

Methodologies

Requirements

Design

Implementation

Verification

Maintenance

Page 41: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Market Tools & Solutions

41

Page 42: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

42

Types of Solutions

Cloud Solutions API’s / Microservices

Middleware / ESB’s Mainframe

Page 43: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Tools & Capabilities

SVT

43

Page 44: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Virtual Services within minutes…

SVT

WSDL

WADL

Recording

Request / Response Pairs

44

Page 45: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

SV & Containerisation

Operating System

Docker Engine

Apps

VS

Apps

VS

Apps

VS

Infrastructure

45

Page 46: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

• Service Virtualisation:

• Eliminates common project risks / issues

• Promotes Shift Left, DevOps and Agile Concepts

• Accelerates Application Development / Testing

• Can be applied to any project methodology

• Ensures Speed to Market with high quality

• Should be considered early in the SDLC and planned at an enterprise level

• NZ Market

• SV Tools / Solutions

• Swagger

• Containerisation

46

Summary

Page 47: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Thank YouQuestions?

Sunil Khutan

Technical Test Consultant

Planit Software Testing

Main: +64 9 306 0690

Mob: +64 27 321 1429

Email:

[email protected]

47

Page 48: Special Interest Group in Software Testing (SIGiST) Presentation _Auckland... · David Fuller –Sydney • Stanley Johannes –Christchurch • Leanne Howard –Sydney • Sarah

Copyright © ANZTB

Please provide your feedback via a quick survey: http://bit.ly/SIGIST-Survey.

If you would like to present at a future SIGiST or at any Australian or New Zealand venue, please contact your local facilitator XX ([email protected]) or our SIGiST Coordinator Ronak Panchal ([email protected]).