Join the discussion
Question 9/37
You are evaluating the best approach to implement automated tests at the UI level for a web app. Specifically, your goal is to allow test analysts to write automated tests in tabular format, within files that encapsulate logical test steps related to how a user interacts with the web UI, along with the corresponding test data. These steps must be expressed using natural language words that represent the actions performed by the user on the web UI. These files will then be interpreted and executed by a test execution tool. Which of the following approaches to test automation is BEST suited to achieve your goal?
Correct Answer: B
The described goal matches the defining characteristics of keyword-driven testing: tests are expressed using keywords (action words) that represent user operations, often arranged in tabular form with parameters/test data. TAE describes keyword-driven approaches as enabling non-programmers (e.g., test analysts) to create and maintain tests by combining high-level keywords such as "Open Browser," "Click," "Enter Text,"
"Select," "Verify Text," etc., while the underlying automation framework maps those keywords to executable code. The use of files interpreted by a test execution tool is also typical: keyword tables (or similar structured specifications) are read and executed by the automation engine. Data-driven testing focuses on separating test logic from test data, typically running the same script multiple times with different datasets; it does not inherently require natural-language action words or tabular step definitions (though it can be combined).
Linear scripting is code-centric and not aligned with analyst-authored natural language step tables. TDD is unrelated to the requirement of tabular, natural-language keyword specification for UI test steps. Therefore, keyword-driven testing is the best fit for the stated approach.
"Select," "Verify Text," etc., while the underlying automation framework maps those keywords to executable code. The use of files interpreted by a test execution tool is also typical: keyword tables (or similar structured specifications) are read and executed by the automation engine. Data-driven testing focuses on separating test logic from test data, typically running the same script multiple times with different datasets; it does not inherently require natural-language action words or tabular step definitions (though it can be combined).
Linear scripting is code-centric and not aligned with analyst-authored natural language step tables. TDD is unrelated to the requirement of tabular, natural-language keyword specification for UI test steps. Therefore, keyword-driven testing is the best fit for the stated approach.
Add Comments
- Other Question (37q)
- Q1. You are reviewing the testability of your SUT. Which of the following BEST refers to the c...
- Q2. Consider a TAS implemented to perform automated testing on native mobile apps at the UI le...
- Q3. An automated test script makes a well-formed request to a REST API in the backend of a web...
- Q4. Which of the following statements about a test progress report produced for an automated t...
- Q5. Which of the following attributes should NOT be included in a test execution report associ...
- Q6. Consider the following example of TAS metrics. Time to execute automated tests Speed and e...
- Q7. Which of the following practices can be used to specify the active (i.e., actually availab...
- Q8. You are executing the first test run of a test automation suite of 200 tests. All the rele...
- Q9. You are evaluating the best approach to implement automated tests at the UI level for a we...
- Q10. You are using a gTAA to create a TAS for a project. The TAS is aimed specifically at autom...
- Q11. Consider a TAS associated to dynamically changing software frequent releases. Your goal is...
- Q12. Consider a TAS associated to dynamically changing software frequent releases. Your goal is...
- Q13. A release candidate of a SUT, after being fully integrated with all other necessary system...
- Q14. Which of the following metrics could suggest, under certain condition that an automated re...
- Q15. Which of the following BEST describes why it is important to separate test definition from...
- Q16. An automated test case that should always pass sometimes passes and sometimes fails interm...
- Q17. Your goal is to verify completeness, consistency and correct behavior of an automated test...
- Q18. A web application was released into production one year ago, it has regular release which ...
- Q19. Which of the following statements about the reuse of TAS artefacts is TRUE?...
- Q20. (Which of the following statements about how test automation is applied across different s...
- Q21. You are executing the first test run of a test automation suite of 200 tests. All the rele...
- Q22. You have been asked to automate a set of functional tests at system Test level via the CLI...
- Q23. You are currently designing the TAA of a TAS. You have been asked to adopt an approach for...
- Q24. Some automated regression test scripts run by a TAS in a given test environment make calls...
- Q25. Designing the System Under Test (SUT) for testability is important for a good test automat...
- Q26. A defect in a SUT has been resolved and validated by an automated defect re-test in the cu...
- Q27. You are working on a TAS forstandaloneapplication. The automated tests are developed based...
- Q28. Consider a TAS that is going to be deployed for the first time. The TAS requires share res...
- Q29. A TAS that performs automated testing in a single test environment was successfully manual...
- Q30. You identified a suitable project to pilot an automation tool and planned and conduced a p...
- Q31. Consider thefollowing example of TAS metrics. Time to execute automated tests Speed and ef...
- Q32. A new TAS allows the implementation of automated data-driven test scripts. All the tasks p...
- Q33. Consider the following layers of the gTAA structure: a.Test generation layer b.Test defini...
- Q34. In a first possible implementation, the automated test scripts within a suite locate and i...
- Q35. The last few runs for a suite of automated keyword-driven tests on a SUT were never comple...
- Q36. Consider choosing an approach for the automated implementation of manual regression test s...
- Q37. You identified a suitable project to pilot an automation tool and planned and conduced a p...
