challenging testar in an industrial setting · challenging testar in an industrial setting hatim...

18
Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

Upload: others

Post on 07-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

Challenging TESTAR in an industrial setting

Hatim Chahim & Mehmet Duran

18 April 2018, Moscow Test Conference

Page 2: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

2© 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”

(Dorothy Graham & Mark Fewster)

Page 3: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

3© 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 4: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

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

Test Automation – World Quality Report

Automation is currently under-exploited in QA &

Testing.

The average level of automation for test activities is around 16%.

Page 5: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

5© 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 6: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

6© 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 – Scripting based

Page 7: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

7© 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 – Visual based

Page 8: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

8© 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 design and execution -TESTAR

User Interface (UI) test automation

UI Test Automation – Traversal based

Page 9: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

9© 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 10: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

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

Demo - TESTAR

Page 11: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

11© 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 12: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

12© 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 13: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

13© 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 14: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

14© 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 15: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

15© 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 16: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

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

Results – Satisfaction

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

€€

Page 17: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

17© 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 18: Challenging TESTAR in an industrial setting · Challenging TESTAR in an industrial setting Hatim Chahim & Mehmet Duran 18 April 2018, Moscow Test Conference

18© 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 55447817

[email protected]