Framework Design interview questions — Easy
124 easy-level Framework Design questions from our Automation Testing bank, each with the correct answer and an explanation of why it is correct.
This topic slice is available to practise but is not yet part of our indexed set.
What this covers
Framework Design appears throughout Automation Testing interviews. At easy level, interviewers are typically checking that you know the fundamentals and can describe them precisely — definitions, defaults, and the basic mechanics. Work through these, then explain your answer out loud; the second part is what interviews actually test.
20 example questions
1. Which of the following best describes fluent interface in Framework Design?
- A. Method-chaining style returning page objects for readable flows.correct
- B. Design dividing the application into independently tested modules.
- C. Hook that logs results and captures artifacts on events.
- D. Tests composed of reusable action keywords, often in tables.
Why: fluent interface: Method-chaining style returning page objects for readable flows.
2. What is the purpose of modular framework in Framework Design?
- A. Design dividing the application into independently tested modules.correct
- B. Utility constructing valid domain objects for tests.
- C. Component resolving environment-specific settings.
- D. Tests composed of reusable action keywords, often in tables.
Why: modular framework: Design dividing the application into independently tested modules.
3. Which of the following best describes reporting listener in Framework Design?
- A. Tests composed of reusable action keywords, often in tables.
- B. Hook that logs results and captures artifacts on events.correct
- C. Central store of element selectors.
- D. Component resolving environment-specific settings.
Why: reporting listener: Hook that logs results and captures artifacts on events.
4. In the context of Framework Design, fluent interface is best described as:
- A. Hook that logs results and captures artifacts on events.
- B. Method-chaining style returning page objects for readable flows.correct
- C. Tests composed of reusable action keywords, often in tables.
- D. Component resolving environment-specific settings.
Why: fluent interface: Method-chaining style returning page objects for readable flows.
5. In Framework Design, what does reporting listener do or refer to?
- A. Tests composed of reusable action keywords, often in tables.
- B. Design dividing the application into independently tested modules.
- C. Method-chaining style returning page objects for readable flows.
- D. Hook that logs results and captures artifacts on events.correct
Why: reporting listener: Hook that logs results and captures artifacts on events.
6. In Framework Design, what does configuration manager do or refer to?
- A. Common parent handling setup/teardown shared by tests.
- B. Hook that logs results and captures artifacts on events.
- C. Component resolving environment-specific settings.correct
- D. Tests composed of reusable action keywords, often in tables.
Why: configuration manager: Component resolving environment-specific settings.
7. In Framework Design, what does BaseTest class do or refer to?
- A. Design dividing the application into independently tested modules.
- B. Common parent handling setup/teardown shared by tests.correct
- C. Central store of element selectors.
- D. Hook that logs results and captures artifacts on events.
Why: BaseTest class: Common parent handling setup/teardown shared by tests.
8. What is the purpose of configuration manager in Framework Design?
- A. Method-chaining style returning page objects for readable flows.
- B. Component resolving environment-specific settings.correct
- C. Design dividing the application into independently tested modules.
- D. Common parent handling setup/teardown shared by tests.
Why: configuration manager: Component resolving environment-specific settings.
9. Which of the following best describes modular framework in Framework Design?
- A. Design dividing the application into independently tested modules.correct
- B. Central store of element selectors.
- C. Component resolving environment-specific settings.
- D. Method-chaining style returning page objects for readable flows.
Why: modular framework: Design dividing the application into independently tested modules.
10. Which of the following best describes keyword-driven framework in Framework Design?
- A. Tests composed of reusable action keywords, often in tables.correct
- B. Design dividing the application into independently tested modules.
- C. Component resolving environment-specific settings.
- D. Central store of element selectors.
Why: keyword-driven framework: Tests composed of reusable action keywords, often in tables.
11. Which of the following best describes test data builder in Framework Design?
- A. Component resolving environment-specific settings.
- B. Utility constructing valid domain objects for tests.correct
- C. Design dividing the application into independently tested modules.
- D. Tests composed of reusable action keywords, often in tables.
Why: test data builder: Utility constructing valid domain objects for tests.
12. Which of the following best describes BaseTest class in Framework Design?
- A. Common parent handling setup/teardown shared by tests.correct
- B. Method-chaining style returning page objects for readable flows.
- C. Central store of element selectors.
- D. Design dividing the application into independently tested modules.
Why: BaseTest class: Common parent handling setup/teardown shared by tests.
13. In Framework Design, what does modular framework do or refer to?
- A. Design dividing the application into independently tested modules.correct
- B. Method-chaining style returning page objects for readable flows.
- C. Component resolving environment-specific settings.
- D. Hook that logs results and captures artifacts on events.
Why: modular framework: Design dividing the application into independently tested modules.
14. What is the purpose of keyword-driven framework in Framework Design?
- A. Tests composed of reusable action keywords, often in tables.correct
- B. Component resolving environment-specific settings.
- C. Common parent handling setup/teardown shared by tests.
- D. Utility constructing valid domain objects for tests.
Why: keyword-driven framework: Tests composed of reusable action keywords, often in tables.
15. What is the purpose of reporting listener in Framework Design?
- A. Component resolving environment-specific settings.
- B. Tests composed of reusable action keywords, often in tables.
- C. Design dividing the application into independently tested modules.
- D. Hook that logs results and captures artifacts on events.correct
Why: reporting listener: Hook that logs results and captures artifacts on events.
16. In Framework Design, what does fluent interface do or refer to?
- A. Method-chaining style returning page objects for readable flows.correct
- B. Hook that logs results and captures artifacts on events.
- C. Utility constructing valid domain objects for tests.
- D. Design dividing the application into independently tested modules.
Why: fluent interface: Method-chaining style returning page objects for readable flows.
17. In Framework Design, what does keyword-driven framework do or refer to?
- A. Common parent handling setup/teardown shared by tests.
- B. Method-chaining style returning page objects for readable flows.
- C. Tests composed of reusable action keywords, often in tables.correct
- D. Component resolving environment-specific settings.
Why: keyword-driven framework: Tests composed of reusable action keywords, often in tables.
18. In Framework Design, what does test data builder do or refer to?
- A. Method-chaining style returning page objects for readable flows.
- B. Component resolving environment-specific settings.
- C. Utility constructing valid domain objects for tests.correct
- D. Common parent handling setup/teardown shared by tests.
Why: test data builder: Utility constructing valid domain objects for tests.
19. Which of the following best describes configuration manager in Framework Design?
- A. Tests composed of reusable action keywords, often in tables.
- B. Common parent handling setup/teardown shared by tests.
- C. Component resolving environment-specific settings.correct
- D. Central store of element selectors.
Why: configuration manager: Component resolving environment-specific settings.
20. What is the purpose of fluent interface in Framework Design?
- A. Hook that logs results and captures artifacts on events.
- B. Central store of element selectors.
- C. Method-chaining style returning page objects for readable flows.correct
- D. Component resolving environment-specific settings.
Why: fluent interface: Method-chaining style returning page objects for readable flows.