31
T20 Test Automation Thursday, October 4th, 2018 3:00 PM An Innovative Test Automation Approach without Making Test Cases Presented by: Mehmet Duran and Hatim Chahim ProRail Brought to you by: 350 Corporate Way, Suite 400, Orange Park, FL 32073 8882688770 9042780524 [email protected] http://www.starwest.techwell.com/

Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

   T20  Test  Automation  Thursday,  October  4th,  2018  3:00  PM          

An  Innovative  Test  Automation  Approach  without  Making  Test  Cases  

 Presented  by:    

 

  Mehmet  Duran  and  Hatim  Chahim    

ProRail    

Brought  to  you  by:        

   

   

350  Corporate  Way,  Suite  400,  Orange  Park,  FL  32073    888-­‐-­‐-­‐268-­‐-­‐-­‐8770  ·∙·∙  904-­‐-­‐-­‐278-­‐-­‐-­‐0524  -­‐  [email protected]  -­‐  http://www.starwest.techwell.com/      

 

   

Page 2: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

 

Mehmet  Duran    Mehmet  Duran  is  a  Project  Leader  in  Automation.  He  offers  experienced-­‐based  QA  and  tooling  service  which  improves  the  software  quality  within  organizations.  At  a  company  in  the  railway  sector  he  has  implemented  automation  within  a  complex  IT  landscape.  As  a  Project  Leader  Automation,  he  is  focused  on  implementing  innovative  solutions  around  the  QA.  Mehmet  also  offers  training,  and  consulting  services  helping  clients  evolve  their  business  processes  and  make  it  more  efficient.      

Hatim  Chahim    Hatim Chahim is an experienced program (test) manager, agile project manager and senior advisor test tooling with more than thirteen years’ experience in IT industry and is currently working at ProRail. He has worked at the largest IT companies such as Capgemini and Accenture. Within ProRail, Hatim is responsible for managing large test teams at program level. At the program level, Hatim has developed test policies for test automation. Hatim has worked diligently to improve the test approach within the rail sector, making it both more accessible and functional. He is a leader in software and systems testing. He also gives training and consulting services about test automation tools.

Page 3: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

An innovative test automation approach

without making test casesHatim Chahim & Mehmet Duran

4 October 2018, STARWEST

Page 4: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

2© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

How to keep 1.2 Million customers happy(each day)

• 68 Million

• 80 Million

• 88 Million

Average per day

1.2 Million train passengers in The Netherlands

- Schiphol Airport

- Los Angeles Airport

- Railway Central Station Utrecht

Passengers per year

Innovative test automation approach

Page 5: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

3© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Agenda

ProRail

Why is Testing so Important to ProRail?

Mission critical systems at ProRail

Current situation ProRail: challenges in testing

Test Automation

2

3

4

5

The operation of the Test Automation Tool6

Framework developed for comparison 7

Results of the comparison and lessons learned 8

1

Page 6: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

4© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Introducing ProRail

ProRail

NS(Dutch Railways)

Connexxion

Arriva

DB Schenker

Page 7: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

5© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

ProRail is a major ICT Player in The Netherlands

-Private GSM-R network-500 software applications

-1 ProRail Test Center-1 Backup Center

- 600 IT employees- 200 mln Euro spending/year- 1-0 IT projects/year

-3 central datacenters-13 local centers for Traffic Control

-Planning and control software among the top 10 largest and most complex software applications in The Netherlands -No own SW development External SW suppliers

Page 8: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

6© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Demonstration ProRail

Page 9: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

7© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Why is testing so important? When IT system fails….

Page 10: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

8© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

NS roept ProRail op matje om storingen

(Novum) - De maat is vol voor de Nederlandse Spoorwegen. Een computerstoring bij spoorbeheerder ProRail die het treinverkeer rond Amsterdam donderdag urenlang platlegde, is de druppel. Na de storingen van vorige week bij Rotterdam en Utrecht drong de

directie van NS bij ProRail al aan op verbeteringen, maar de NS roept ProRail nu nog een keer op het matje.

NS heeft genoeg van falende computers van Prorail

Rover na nieuwe storing: 'Stuur top ProRail naar huis' 21 mei 2008 - Bron: ANP

‘ProRail moet sneller storing voorkomen’ Gepubliceerd: 4 april 2007 00:00 | Gewijzigd: 22 augustus 2008 18:07

PRORAIL ONDER DRUK

Politieke partijen en Rover roepen om snellere aanpak van spoorproblemen

woensdag 4 april 2007

DEN HAAG -- Spoorbeheerder ProRail moet er snel voor zorgen dat het aantal ernstige verstoringen van het

treinverkeer afneemt. Dat vinden politieke partijen en maatschappelijke organisaties na een incident

waardoor gistermorgen het treinverkeer van en naar Tilburg helemaal stil kwam te liggen.

Rover: ProRail liegt over storingen

'Nog zeker jaar storing op spoor',

Geplaatst: 07 maart 2007 11:45, laatste wijziging: 07 maart 2007 11:45

Minister wil onderzoek storingen treinverkeer dinsdag 11 september 2007 | 07:17

Dutch Railways (NS) is done with failing ProRail

computers!

Send ProRail Management Board home!!

ProRail under pressure to solve IT problems quickly!

Minister wants investigation train traffic malfunctions!!

HeadlinesProRail held accountable for IT

failures

Page 11: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

9© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Logistics and traffic control systems

Page 12: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

10© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

ICT architecture control systems

Safety

Infra elements

Communication

Control

Planning

Page 13: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

11© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Situation ProRail: challenges in testing No overall test approach and integration environment is missing

Testing is vital for operation

◦ 1ste time right

◦ Customers demand a shorter time to market

Agile way of working is growing

◦ Test Automation is becoming more important

Many Test Automation tools failed in implementation

◦ Human factors

◦ Maintenance problems with test scripts

Page 14: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

12© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Vision for the challenges

Vision

Innovative test automation

Sense-making

(new) Test model ProRail

Agile way of working

Page 15: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

13© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Experience with Test Automation?

Who is doing test automation?

Are you using test scripts?

“Once you abandon the maintenance of the

automation, it is likely to die. For a better chance

of success, choose a test automation approach

that will require the least maintenance”

(source: Dorothy Graham & Mark Fewster)

Page 16: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

14© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Context – Manual test approach at ProRail

Software testingNew or changed

softwareTested software

Execution CompletionPreparation Specification

Page 17: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

15© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Traversal based

Scripting based

Visual based

Capture and

replay

Automates execution Automates execution Automates execution Automates specification and execution -TESTAR

User Interface (UI) test automation

UI Test Automation – Capture and replay

Page 18: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

16© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Traversal based

Scripting based

Visual based

Capture and

replay

Automates execution Automates execution Automates execution Automates specification and execution -TESTAR

User Interface (UI) test automation

UI Test Automation – Capture and replay

Page 19: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

17© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Traversal based

Scripting based

Visual based

Capture and

replay

Automates execution Automates execution Automates execution Automates specification and execution -TESTAR

User Interface (UI) test automation

UI Test Automation – Capture and replay

Page 20: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

18© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Traversal based

Scripting based

Visual based

Capture and

replay

Automates execution Automates execution Automates execution Automates specification and execution -TESTAR

User Interface (UI) test automation

UI Test Automation – Capture and replay

Page 21: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

19© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

TESTAR

String titleRegEx = settings().get(SuspiciousTitles);

for(Widget w : state){String title = w.get(Title, "");if(title.matches(titleRegEx)){

}

Widget tree

Check oraclesFault?

More

actions?

No

Yes

Stop SUT

Yes

No

More

sequences

?

Yes

No

Start SUTScan UI + get

widget tree

Derive set of

user actions

Select actions

Execute

actions

Page 22: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

20© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Demo - TESTAR

Page 23: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

21© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Framework for comparison (1)

Technological

value

Efficiency

Effectivity

SatisfactionCurrent test

approach

New test

approach

Comparison

Learnability

TESTAR

Page 24: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

22© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Framework for comparison (2)

Learnability

• Time-tracked learning process

• Knowledge level

• Observation hands on learning process

Effectivity

• Number of faults

• Functional test coverage

• Interviews

Efficiency

• Time-tracked of:

• Preparation

• Execution

• Evalution

Satisfaction

• Interviews

• Reaction cards

Page 25: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

23© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Learnability

•Time needed 10h

•Level of

knowledge

sufficient

•Knowledge has

grown positively

Effectivity

•Four faults

•Impact seriously

•80% coverage

•Offers variety

Efficiency

•Preparation: 44h

•Execution: 71h

•Evaluation: 5h

Satisfaction

•Impression grown

•User-friendliness

prone to

improvement

•Satisfaction rate 7

Effectivity

• No faults found

•73% coverage

•Offers structure

and focus

Efficiency

•Preparation: 43h

•Execution: 6h

•Evaluation: 2h

Satisfaction

•Personal and

familiar

•Time-consuming to

use

•Satisfaction rate 7

TESTAR

Results - Learnability

Page 26: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

24© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Learnability

•Time needed 10h

•Level of

knowledge

sufficient

•Knowledge has

grown positively

Effectivity

•Four faults

•Impact seriously

•80% coverage

•Offers variety

Efficiency

•Preparation: 44h

•Execution: 71h

•Evaluation: 5h

Satisfaction

•Impression grown

•User-friendliness

prone to

improvement

•Satisfaction rate 7

Effectivity

• No faults found

•73% coverage

•Offers structure

and focus

Efficiency

•Preparation: 43h

•Execution: 6h

•Evaluation: 2h

Satisfaction

•Personal and

familiar

•Time-consuming to

use

•Satisfaction rate 7

TESTAR

Results - Effectivity

Page 27: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

25© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Learnability

•Time needed 10h

•Level of

knowledge

sufficient

•Knowledge has

grown positively

Effectivity

•Four faults

•Impact seriously

•80% coverage

•Offers variety

Efficiency

•Preparation: 44h

•Execution: 71h

•Evaluation: 5h

Satisfaction

•Impression grown

•User-friendliness

prone to

improvement

•Satisfaction rate 7

Effectivity

• No faults found

•73% coverage

•Offers structure

and focus

Efficiency

•Preparation: 43h

•Execution: 6h

•Evaluation: 2h

Satisfaction

•Personal and

familiar

•Time-consuming to

use

•Satisfaction rate 7

TESTAR

Results - Efficiency

€€

Page 28: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

26© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Learnability

•Time needed 10h

•Level of

knowledge

sufficient

•Knowledge has

grown positively

Effectivity

•Four faults

•Impact seriously

•80% coverage

•Offers variety

Efficiency

•Preparation: 44h

•Execution: 71h

•Evaluation: 5h

Satisfaction

•Impression grown

•User-friendliness

prone to

improvement

•Satisfaction rate 7

Effectivity

• No faults found

•73% coverage

•Offers structure

and focus

Efficiency

•Preparation: 43h

•Execution: 6h

•Evaluation: 2h

Satisfaction

•Personal and

familiar

•Time-consuming to

use

•Satisfaction rate 7

TESTAR

Results – Satisfaction

€€

Page 29: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

27© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Lessons learned

• Complementary

• Framework in the railway sector

• GAP between theory and practice

Lessons learned

Page 30: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

28© Capgemini 2018. All rights reserved |Presentation Title | Author | Date

Hatim Chahim

+31 (0) 6 41643023

[email protected]

Challening TESTAR in an industrial setting

Thank you for listening!

Mehmet Duran

+31 (0) 6 54755452

[email protected]

Page 31: Is it possible to automate testing without making test cases? › sites › default › files › presentation › fil… · level, Hatim has developed test policies for test automation

An innovative test automation approach

without making test casesHatim Chahim & Mehmet Duran

4 October 2018, STARWEST