nerdexam
iSQI

CTAL-TAE · Question #157

A TAS is used to run on a test environment a suite of automated regression tests, written at the UI level, on different releases of a web app: all executions complete successfully, always providing…

The correct answer is C. Split the suite into sub-suites and run each of them concurrently on different test environments. Since the TAS already produces reliable results, the main issue is execution time. The best improvement is to run sub-suites in parallel across multiple test environments, reducing total execution time without sacrificing reliability or maintainability. This addresses…

Continuous Improvement

Question

A TAS is used to run on a test environment a suite of automated regression tests, written at the UI level, on different releases of a web app: all executions complete successfully, always providing correct results (i.e. producing neither false positives nor false negatives). The tests, all independent of each other, consist of executable test scripts based on the flow model pattern which has been implemented in a three-layer TAF (‘test scripts’, ‘business logic’, ‘core libraries’) by expanding the page object model via the facade pattern. Currently the suite takes too long to run, and the test scripts are considered too long in terms of LOC (Lines Of Code). Which of the following recommendations would you provide for improving the TAS (assuming it is possible to perform all of them)?

Options

  • AModify the TAF so that test scripts are based on the page object model, rather than the flow
  • BImplement a mechanism to automatically reboot the entire web app in the event of a crash
  • CSplit the suite into sub-suites and run each of them concurrently on different test environments
  • DModify the architecture of the SUT to improve its testability and, if necessary, the TAA accordingly

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    12% (3)
  • C
    65% (17)
  • D
    19% (5)

Explanation

Since the TAS already produces reliable results, the main issue is execution time. The best improvement is to run sub-suites in parallel across multiple test environments, reducing total execution time without sacrificing reliability or maintainability. This addresses performance concerns directly while preserving the existing test design patterns.

Topics

#parallel execution#test suite optimization#flow model pattern#performance

Community Discussion

No community discussion yet for this question.

Full CTAL-TAE Practice