automation testing introduction for fujinet

23

Upload: hai-tran-son

Post on 21-Jan-2018

386 views

Category:

Software


1 download

TRANSCRIPT

All Rights reserved - © HaiTS 2012-2015 2

Agenda

Automation testing an Introduction

Manual vs. Automation

Automation tools.

Conclusion.

All Rights reserved - © HaiTS 2012-2015 3

What is Automation Test

When To Stop Testing?

The question is not whether all the

bugs have been found, but whether the

software is sufficiently “good” to stop

testing.

“Using computer time to execute of

tests.”

All Rights reserved - © HaiTS 2012-2015 4

Why automate testing

“Automation will help us release a higher

quality product on time”

Repetitive test that run for multiple

builds

Test that tend to cause human error.

Test that require multiple data sets

Frequently used functionality that

introduces high risk conditions.

Test that run on several different

hardware or software platform.

All Rights reserved - © HaiTS 2012-2015 5

Why automation makes your

life easy?

自動化は人生が容易になります

All Rights reserved - © HaiTS 2012-2015 6

Why not automation tesing

It’s just a reason.

If we really want,

we will find the

solution

All Rights reserved - © HaiTS 2012-2015 7

Mindset of manual vs.

automation

5 levels mindset for Tester

You don't believe it until you see it.You don't believe everything that you see.

Hybrid mindset of developer and tester for automation.

All Rights reserved - © HaiTS 2012-2015 8

LAZADA VIETNAM STORY

All Rights reserved - © HaiTS 2012-2015 9

All Rights reserved - © HaiTS 2012-2015 10

New mindset testing

All Rights reserved - © HaiTS 2012-2015 11

Automation vs. ManualManual Automation

Test execution time:

increase

Regression test coverage:

decrease

Responsive and flexible

Human variation

No maintenance needed

Immediate dividend paid

Not cost effective for high

volume regression

Test execution time:

decrease

Regression test coverage:

increase

Relatively inflexible

Machine consistency

High maintenance needed

Long-term dividend

Not cost effective for low

volume regression

All Rights reserved - © HaiTS 2012-2015 12

History of Automation

1st Generation: Record and Playback

2nd Generation: Scripting

3rd Generation: Data driven

4th Generation: Keyword Driven

All Rights reserved - © HaiTS 2012-2015 13

Automation Tools

All Rights reserved - © HaiTS 2012-2015 14

Automation framework

All Rights reserved - © HaiTS 2012-2015 15

Test Automation Framework

Hybrid

All Rights reserved - © HaiTS 2012-2015 16

QTP Test Automation Framework

Auto Framework using QTP has 4 main sections:

Environment: contains xml setting files

Function Libraries: common functions with dynamic description and specific functions

Shared Repositories: these files describe the shared graphic user elements in the system

TC Scripts: test case scripts

All Rights reserved - © HaiTS 2012-2015 17

Selenium Automation

FrameworkSelenium Automation Architecture:

All Rights reserved - © HaiTS 2012-2015 18

Automation for Tabsquare

using Selenium

All Rights reserved - © HaiTS 2012-2015 19

Demo

Automation testing for integration

web and mobile app system

Running video demo file

All Rights reserved - © HaiTS 2012-2015 20

SWOT Analysis

StrengthsRegression test

Data driven

Verify formulas and finance

calculation

WeaknessesRequire stable system

??????

OpportunitiesDeveloping our own framework

Automation is future

???????

ThreatsConflict with manual tester

????????

Automation Test

Solution

All Rights reserved - © HaiTS 2012-2015 21

Conlusion

All Rights reserved - © HaiTS 2012-2015 22

22

ありがとう