ISTQB CTAL TAE Session 36 - 5.1 - Selection of TAS Metrics

My Testing Orbit
8 Oct 202312:46

Summary

TLDRThis training series episode delves into the pivotal aspect of test automation reporting and metrics. It introduces the importance of monitoring indicators for effective test automation, covering the selection of relevant metrics, their implementation, and the significance of comprehensive logging. The episode also distinguishes between external and internal test automation metrics, emphasizing the benefits of automation and how they can be measured, such as time savings, increased coverage, and early defect detection, ultimately highlighting the value added to the testing process.

Takeaways

  • 🚦 The video discusses the importance of test automation reporting and metrics, comparing it to a car dashboard that provides essential information for driving.
  • 📊 The script is divided into four key sections: selection of T metrics, implementation of measurement, logging of T and Su, and test automation reporting.
  • 🔍 Section 5.1 focuses on choosing the most relevant metrics for a test automation project to monitor the strategy and effectiveness of the automation.
  • 📈 T metrics are divided into external and internal metrics, with external metrics measuring the impact on testing activities and internal metrics assessing the automation's performance.
  • 🛠️ External T metrics include automation benefits, effort to build and maintain tests, test incident analysis, and code coverage, among others.
  • 🔧 Internal T metrics involve tool scripting metrics, automation code defect density, and the speed and efficiency of T components.
  • 💡 The benefits of test automation should be clearly communicated, as they might not be immediately visible, especially to those not directly involved in the process.
  • 📉 Possible measures of automation benefits include efficiency gains, streamlined regression testing, expanded testing scope, and early defect detection.
  • 🔄 The script emphasizes that the benefits of test automation align with the original goals set for the automation project, such as saving time, enhancing coverage, or reducing errors.
  • 📝 It's important to distinguish between T metrics, which are managed by the test automation manager and engineer, and Su related metrics, which are managed by the project's overall test manager.
  • 🌐 Measuring the benefits of test automation reveals its true value, including efficiency, accuracy, and agility, and encourages further leveraging of its potential.

Q & A

  • What is the main focus of the chapter on test automation reporting and metrics?

    -The chapter focuses on the information and numbers gathered from automated tests, similar to a car dashboard, to monitor various indicators and ensure everything is on track in test automation.

  • How many key sections are there in the exploration of test automation reporting and metrics?

    -There are four key sections: selection of T metrics, implementation of measurement, logging of the T and Su, and test automation reporting.

  • What does Section 5.1 focus on in the context of test automation?

    -Section 5.1 focuses on the selection of the most relevant metrics for a test automation project, specifically for monitoring the test automation strategy and its effectiveness and efficiency.

  • What are the two main things that test automation strategy metrics are used to assess and keep track of?

    -Test automation strategy metrics are used to assess and keep track of how well the planned approach for automating tests is working and the effectiveness and efficiency of the chosen automation strategy in achieving its intended goals and objectives.

  • What is the distinction between test automation metrics and Su related metrics?

    -Test automation metrics are used to track the progress of the test automation effort and evaluate its performance, managed by the Test Automation Manager (TAM) and Test Automation Engineer (TAE). Su related metrics, on the other hand, monitor the system under test and its functional and non-functional aspects, managed by the Project's overall test manager.

  • What are the two categories of test automation metrics mentioned in the script?

    -The two categories of test automation metrics are external T metrics, which measure the impact of T on other activities, particularly testing activities, and internal T metrics, which measure the effectiveness and efficiency of the T in fulfilling its objectives.

  • What is the significance of measuring automation benefits in test automation?

    -Measuring automation benefits is important to highlight the value and advantages of test automation, such as time savings, increased testing coverage, and reduced errors, which may not be immediately visible to everyone, especially those not directly involved in the process.

  • How can the benefits of test automation be measured?

    -Benefits can be measured through efficiency gains, number of hours of manual test effort saved, streamlined regression testing, enhanced test execution, expanded testing scope, and early defect detection, among others.

  • What is the purpose of calculating the test automation ratio?

    -The test automation ratio, which is the percentage of automated test cases related to the entire set of test cases, helps to understand the balance between automated and manual testing in the process, although it does not indicate which is better or more effective.

  • How does test automation enable additional manual testing?

    -Test automation saves manual test effort, which can be devoted to other kinds of manual testing, such as exploratory testing. Defects found by these additional tests can be seen as indirect benefits of test automation.

  • What is the conclusion of the session on test automation reporting and metrics?

    -The conclusion emphasizes that measuring the benefits of test automation reveals its true value, acknowledging the efficiency, accuracy, and agility it brings to the testing process, and inspiring continued leveraging of its potential for more impressive outcomes.

Outlines

00:00

📊 Test Automation Reporting and Metrics

This paragraph introduces the concept of test automation reporting and metrics, emphasizing their importance in the test automation journey. It likens test automation metrics to a car's dashboard, providing essential information about the performance and health of the automated tests. The chapter will cover four key sections: selection of test automation metrics, implementation of measurement, logging of test and system under test (SUT) metrics, and test automation reporting. The focus is on choosing relevant metrics to monitor the test automation strategy's effectiveness and efficiency, as well as the separate metrics for the SUT. The paragraph also distinguishes between test automation metrics, managed by the test automation manager and engineer, and SUT-related metrics, overseen by the project's test manager.

05:02

🔍 Understanding External and Internal Test Automation Metrics

This paragraph delves into the specifics of external and internal test automation metrics. External metrics measure the impact of test automation on broader testing activities, while internal metrics assess the effectiveness and efficiency of the test suite in achieving its objectives. The paragraph lists and briefly explains various external metrics such as automation benefits, effort to build and maintain automated tests, and code coverage. It also mentions internal metrics like tool scripting metrics, automation code defect density, and the speed and efficiency of test components. The importance of making the benefits of test automation clear to stakeholders who may not see the immediate advantages is highlighted, with examples of how to measure these benefits, including efficiency gains, streamlined regression testing, and expanded testing scope.

10:03

🛠️ Measuring the Benefits and Impact of Test Automation

The final paragraph discusses the importance of measuring the benefits of test automation, such as increased coverage, early defect detection, and unique defect discovery that might not have been found through manual testing. It explains how these benefits can be quantified, for example, by calculating cost savings from finding defects earlier in the development process or by assessing the number of additional tests that can be executed due to time saved by automation. The paragraph also touches on the indirect benefits of test automation, like enabling more comprehensive testing and deeper exploration, which can uncover issues that might have remained hidden. The session concludes by emphasizing the value of test automation in improving efficiency, accuracy, and agility in the testing process, and it sets the stage for further exploration of test automation metrics in the next session.

Mindmap

Keywords

💡Test Automation

Test automation refers to the process of using specialized software to execute tests on a system or application. In the script, test automation is the central theme, emphasizing its importance in modern software testing practices. It is discussed in the context of its strategy, effectiveness, and the metrics used to measure its success.

💡Reporting and Metrics

Reporting and metrics are essential in test automation to provide insights into the performance and effectiveness of automated tests. The script describes these as vital components that help in making informed decisions and tracking progress, similar to a car's dashboard that provides real-time information about the vehicle's status.

💡T Metrics

T metrics, as mentioned in the script, are specific metrics used to assess the performance of test automation. They are divided into external and internal metrics, which measure the impact of test automation on testing activities and the effectiveness and efficiency of the test suite itself, respectively.

💡External Metrics

External metrics are used to measure the broader impact of test automation on testing activities. The script lists several external metrics such as automation benefits, effort to build automated tests, and code coverage. These metrics help in understanding how test automation influences the overall testing process.

💡Internal Metrics

Internal metrics focus on the efficiency and effectiveness of the test suite in achieving its objectives. The script mentions tool scripting metrics, automation code defect density, and the speed and efficiency of test components as examples of internal metrics, which are crucial for assessing the performance of the test automation solution.

💡Automation Benefits

Automation benefits are the advantages gained from implementing test automation. The script highlights the importance of quantifying these benefits, such as time savings, increased test coverage, and reduced manual errors, to demonstrate the value of test automation to stakeholders.

💡Efficiency

Efficiency in the context of the script refers to the effectiveness and productivity of the test automation process. It is used to evaluate how well the chosen automation strategy is achieving its intended goals, such as reducing the time and effort required for testing.

💡Test Incidents

Test incidents are events or occurrences during the testing process that may require attention or action. The script discusses the metric of 'effort to analyze automated test test incidents,' indicating the importance of understanding and addressing issues that arise during automated testing.

💡Maintenance

Maintenance in the script refers to the ongoing effort required to keep automated tests up-to-date and effective. It is a key aspect of test automation, as it ensures that tests remain relevant and accurate over time, which is measured by the 'effort to maintain automated tests' metric.

💡Code Coverage

Code coverage is a metric that measures how much of the software's code is executed during testing. The script mentions it as one of the external metrics, indicating its importance in assessing the thoroughness of test automation and ensuring that a wide range of code is tested.

💡Actionable Insights

Actionable insights are the practical and useful conclusions that can be drawn from the data collected through test automation reporting and metrics. The script emphasizes the creation of informative reports that convert data into insights that can guide the test automation efforts effectively.

Highlights

Introduction to the new chapter on test automation reporting and metrics.

Comparison of test automation metrics to a car dashboard for monitoring progress.

Exploration of four key sections on test automation reporting and metrics.

Section 5.1 focuses on the selection of test automation metrics.

Importance of choosing relevant metrics for a test automation project.

Section 5.2 discusses the implementation of measurement in test automation.

Section 5.3 emphasizes the importance of comprehensive logging in test automation.

Section 5.4 is about creating informative test automation reports.

Differentiation between test automation metrics and system under test (SU) related metrics.

Responsibility for managing SU related metrics lies with the project's overall test manager.

Test automation metrics track the progress of test automation efforts.

External and internal test automation metrics explained.

External metrics measure the impact of test automation on testing activities.

Internal metrics assess the effectiveness and efficiency of the test suite.

List of external test automation metrics provided, including automation benefits and effort to build automated tests.

List of internal test automation metrics, such as tool scripting metrics and automation code defect density.

Explanation of automation benefits and its importance in reporting the value of test automation.

Benefits of test automation depend on the objectives set for the test suite.

Possible measures of automation benefits include efficiency gains and hours saved by automating tests.

Discussion on the balance between automated and manual testing methods.

Coverage amplification and early defect detection as benefits of test automation.

Unique defect discovery as a significant advantage of test automation.

Indirect benefits of test automation through enabling additional manual testing.

Conclusion on the importance of measuring the benefits of test automation for a comprehensive understanding of its value.

Transcripts

play00:00

welcome back to Tae certification

play00:02

training Series today we are about to

play00:05

start a new chapter in our test

play00:07

automation Journey so far we have

play00:09

covered a lot from why we automate test

play00:12

to getting ready for its execution and

play00:14

exploring the complexities of a journal

play00:17

test automation framework now we are

play00:19

about to dive in something equally

play00:22

important but different which is test

play00:25

automation reporting and

play00:28

metrics in plain terms this chapter is

play00:32

all about the information and numbers we

play00:34

can gather from our automated test it is

play00:37

like a dashboard in your car when you

play00:39

drive you need to know how fast you are

play00:42

going how much fuel you have and whether

play00:45

the engine is working well or not

play00:47

similarly in test automation we need to

play00:50

keep an eye on various indicators to

play00:52

ensure that everything is on track we

play00:55

will explore test automation reporting

play00:58

and metrics through four key

play01:00

sections the first one is 5.1 selection

play01:04

of T metrics this section focuses on

play01:08

choosing the most relevant metrics for

play01:10

your test automation

play01:12

project then we have 5.2 implementation

play01:16

of measurement in this section you will

play01:19

learn how to put measurement into action

play01:22

and gather valuable data

play01:25

effectively next is 5.3 logging of the T

play01:29

and and the Su in this section you will

play01:32

discover the importance of comprehensive

play01:35

logging in both the T and the

play01:38

Su and finally 5.4 test automation

play01:42

reporting in this section you will

play01:44

explore how to create informative

play01:46

reports that turn data into actionable

play01:49

insights for your automation

play01:52

efforts so let's start with Section 5.1

play01:56

selection of Tes metrics and discover

play01:59

how to choose the write metrics to guide

play02:01

your test automation

play02:04

Journey this section focuses on metrics

play02:07

for monitoring the test automation

play02:09

strategy and the Effectiveness and

play02:11

efficiency of the

play02:12

T so it's primarily concerned with

play02:16

discussing metrics used to assess and

play02:17

keep track of two main things mentioned

play02:19

over here the first one is test

play02:21

automation strategy which is about

play02:23

monitoring how well the planned approach

play02:25

for automating test is working and the

play02:28

second is Effectiveness and efficiency

play02:30

of the T it involves evaluating how

play02:34

effective and efficient The Chosen

play02:36

automation strategy is in achieving its

play02:38

intended goals and

play02:41

objectives next we have separate from Su

play02:44

related metrics used to monitor the

play02:47

system under test and the functional and

play02:50

non-functional testing of the Su which

play02:52

is selected by the Project's overall

play02:55

test manager so the key Point here is

play02:58

that these automation metrics are

play03:00

distinct and separate from another set

play03:02

of metrics known as Su related metrics

play03:06

these Su related metrics are used to

play03:08

monitor this Su which is system under

play03:11

test which is the software or

play03:13

application which is being tested along

play03:15

with its functional and non-functional

play03:17

aspects and the responsibility for

play03:20

selecting and managing these Su related

play03:22

metrics lies with the Project's overall

play03:25

test

play03:27

manager test automation metric allow the

play03:30

Tam and Tae to track progress towards

play03:33

the goals for test Automation and to

play03:36

monitor the impact of changes made to

play03:39

the test automation

play03:40

Solution on the other hand the test

play03:43

automation metrics are the domain of the

play03:45

Tam test automation manager and the Tae

play03:49

test automation engineer these metrics

play03:52

are used to track the progress of the

play03:54

test automation effort and to evaluate

play03:57

how changes made to the test automation

play03:59

solution are impacting its performance

play04:02

so to summarize test automation metrics

play04:04

are like the instruments for gauging the

play04:07

efficiency of the automation strategy

play04:10

while Su related metrics focus on the

play04:12

quality and performance of the software

play04:15

being tested each set of metrics serves

play04:18

a distinct purpose and is managed by

play04:21

different roles within the testing

play04:24

team next we have t metrics and there

play04:27

are two of them external and

play04:30

internal so the external T metrics are

play04:33

used to measure the T impact on other

play04:37

activities in particular the testing

play04:40

activities and the internal one used to

play04:42

measure the Effectiveness and efficiency

play04:45

of the TS in fulfilling its

play04:48

objectives think of it this way external

play04:51

metrics show how your Tas affects the

play04:54

bigger picture of testing while internal

play04:56

metrics tell you how well the TS is

play04:58

doing its job job it's like looking at

play05:01

both the forest and the trees to

play05:04

understand the whole

play05:07

picture so let's have a look at all the

play05:09

external Tes metrics over here and then

play05:13

later on we will go through all of them

play05:15

one by one in detail the first one is

play05:19

automation

play05:20

benefits number two effort to build

play05:24

automated

play05:25

test three effort to analyze automated

play05:29

test test

play05:30

incidents four effort to maintain

play05:33

automated

play05:35

tests five ratio of failures to

play05:39

defects six time to execute automated

play05:43

tests seven number of automated test

play05:47

cases eight number of pass and fail

play05:51

results nine number of false fail and

play05:55

false pass

play05:56

results and number 10 code coverage

play06:00

and similarly we have a list of internal

play06:03

TS metrics too the first one is tool

play06:06

scripting

play06:07

metrics number two automation code

play06:10

defect density and the third one speed

play06:14

and efficiency of T

play06:16

components let's now have a look uh at

play06:19

all the external T metrics one by one

play06:22

and the first one is automation benefits

play06:25

why mayor automation benefits it is

play06:28

particularly important an to Mayor and

play06:30

Report the benefits of a

play06:33

t this is because the costs in terms of

play06:36

the number of people involved over a

play06:37

given period of time are easy to

play06:40

see people working outside testing will

play06:43

be able to form an impression of the

play06:45

overall cost but may not see the

play06:48

benefits

play06:49

achieved think of your TS as a toolkit

play06:53

you have carefully assembled you have

play06:55

put in time and effort to make it work

play06:57

seamlessly now it's time to reveal the

play07:00

real trayers hidden within this toolkit

play07:04

which is the benefits of test automation

play07:07

now here's the deal while it's quite

play07:09

clear how much effort and resources go

play07:12

into setting up testing automation like

play07:15

the time and people involved the

play07:17

benefits might not be immediately

play07:19

visible to everyone especially uh those

play07:22

who are not directly involved in the

play07:24

process that's why we need to shine a

play07:27

light on these benefits making them

play07:29

crystal clear for everyone to

play07:33

see benefits depend on T

play07:36

objectives any mayor of benefit will

play07:39

depend on the objective of the

play07:42

T typically this may be a savings of

play07:46

time or effort an increase in the amount

play07:48

of testing performed breadth or depth of

play07:51

coverage or frequency of execution or

play07:54

some other Advantage such as increased

play07:56

repeatability greater use of resources

play07:59

or fewer manual

play08:01

errors so the reward you reap from your

play08:04

TS depend on what you aimed to achieve

play08:07

in the first place did you set out to

play08:09

save time enhance testing coverage or

play08:13

reduce errors the benefits align with

play08:16

your original

play08:18

goals possible measures include

play08:21

efficiency gains number of hours of

play08:24

manual test effort saved so count the

play08:27

hours saved by automating test compared

play08:29

to manual testing

play08:31

efforts streamlined regression testing

play08:34

reduction in time to perform regression

play08:37

testing so highlight how much faster

play08:40

regression testing becomes with

play08:43

automation enhanced test execution

play08:46

number of additional cycles of test

play08:48

execution achieved track how many

play08:51

additional testing Cycles you can

play08:53

execute thanks to

play08:55

automation expanded testing scope number

play08:59

or percentage of additional test

play09:01

executed measure the extra test you can

play09:04

perform due to

play09:07

automation test automation ratio

play09:10

percentage of automated test cases

play09:13

related to the entire set of test cases

play09:16

although automated cannot easily be

play09:18

compared to manual test

play09:20

cases okay imagine you have a group of

play09:23

test cases some of these test cases are

play09:25

automated While others are manual now

play09:28

you want to know what portion of your

play09:30

total testing effort is done through

play09:33

automated test cases from a pool that

play09:35

includes both automated and manual test

play09:39

however here is the catch automated and

play09:42

manual test cases are like apples and

play09:45

oranges they serve different purposes

play09:47

and are used in different situations so

play09:50

directly comparing them is not

play09:52

straightforward so while you can

play09:54

calculate this percentage to understand

play09:57

the balance between automated and manual

play10:00

testing in your process remember that it

play10:03

doesn't tell you which is better or more

play10:06

effective it's a simple way to see how

play10:09

you are using these two types of testing

play10:13

methods then we have coverage

play10:15

amplification increase in coverage

play10:18

requirements functionality

play10:21

structural so assess the broader

play10:23

coverage you achieve whether it's

play10:25

related to requirements functionality or

play10:29

structural

play10:31

aspects then we have early defect

play10:33

detection number of defects found

play10:36

earlier because of the T when the

play10:39

average benefit of defects found earlier

play10:42

is known this can be calculated to a sum

play10:45

of prevented costs so calculate the cost

play10:49

savings by finding defects earlier in

play10:51

the development process thanks again to

play10:54

automation then we have unique defect

play10:57

Discovery number of of defects found

play11:00

because of the T which would not have

play11:03

been found by manual testing for example

play11:06

reliability defects in this one identify

play11:10

defects uh uncovered solely because of

play11:13

automation which might have been missed

play11:16

in manual

play11:19

testing additional consideration note

play11:22

that test automation generally saves

play11:24

manual test effort this effort can be

play11:27

devoted to other other kinds of manual

play11:30

testing for example exploratory

play11:33

testing defects found by these

play11:35

additional test can also be seen as

play11:38

indirect benefits of the T as the test

play11:41

automation enabled these manual tests to

play11:43

be executed without the T these test

play11:47

would not have been executed and

play11:49

subsequently the additional defects

play11:51

would not have been

play11:53

found here is the exciting twist test

play11:57

automation not only saves time and

play11:59

effort but also opens up opportunities

play12:02

for more comprehensive testing and

play12:04

deeper exploration it's like having a

play12:07

versatile toolkit that allows you to

play12:10

explore different testing scenarios and

play12:12

uncover issues that might have otherwise

play12:15

stayed hidden in the end measuring the

play12:18

benefits of test automation is like

play12:20

revealing the true value of your testing

play12:22

efforts it's about acknowledging the

play12:25

efficiency accuracy and Agility it

play12:28

brings to your testing process and

play12:30

inspire you to continue leveraging its

play12:33

potential for even more impressive

play12:37

outcomes this concludes today's session

play12:39

we will continue exploring the remaining

play12:41

TS metrics in our next session until

play12:44

then take care

Rate This

5.0 / 5 (0 votes)

Related Tags
Test AutomationReportingMetricsEfficiencyQuality AssuranceSoftware TestingPerformance MetricsAutomated TestingTest StrategyTest Metrics