exam questions

Exam CT-TAE All Questions

View all questions & answers for the CT-TAE exam

Exam CT-TAE topic 1 question 7 discussion

Actual exam question from ISTQB's CT-TAE
Question #: 7
Topic #: 1
[All CT-TAE Questions]

The Test Automation Manager has asked you to provide a solution for collecting metrics from the TAS that measures code coverage every time the automated regression test pack is run. The metrics must be trend based to ensure that the scope of the regression test pack continues to reflect enhancements made to the SUT - coverage must not drop and should ideally increase. The solution must be as automated as possible to avoid unnecessary manual overheads and errors.
Which of the following approaches would BEST meet these requirements?

  • A. Test automation cannot measure code coverage for the SUT, only the code for the automation tools and scripts. The automated test cases would need to be run manually with a code coverage and reporting tool running in the background.
  • B. The automated testware would record overall code coverage for each run and add the figure to a new row in a pre-formatted Excel spreadsheet. You would then present the spreadsheet to stakeholders so they could look for changes in coverage.
  • C. The automated testware would record overall code coverage for each run, export the data to a pre-formatted Excel spreadsheet that automatically updates a trend analysis bar chart for you to distribute to stakeholders.
  • D. The automated testware would record the pass/fail rate of each regression test case, export the data to a pre-formatted Excel spreadsheet that automatically updates a trend analysis success rate bar chart and emails it to stakeholders.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
0d4fdcc
1 month, 1 week ago
Selected Answer: C
The best approach for collecting metrics that measure code coverage is to automate the process as much as possible. Option C suggests an automated solution where the testware records the code coverage for each run and exports the data to an Excel spreadsheet. This spreadsheet is pre-formatted to update a trend analysis bar chart automatically. This method not only minimizes manual overheads and errors but also provides stakeholders with an easy-to-understand visual representation of the coverage trends over time. It ensures that the scope of the regression test pack is continuously reflecting the enhancements made to the SUT, with coverage metrics that should not drop and ideally increase, aligning with the requirements for trend-based metrics. References = The ISTQB Test Automation Engineer syllabus and industry best practices recommend the use of automated solutions for tracking and analyzing test metrics. This includes the automation of metric collection and the use of trend analysis to monitor the effectiveness of the test suite over time123.
upvoted 1 times
...
nemeremjcc
2 months ago
Selected Answer: D
Stakeholders at management level focus on trends such as how many test cases were added since the last test run, changes in the pass-fail ratio etc.
upvoted 1 times
...
FrancisFerreira
6 months ago
Selected Answer: C
Alternative C seems correct.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago