nerdexam
ISTQB

CT-AI · Question #23

CT-AI Question #23: Real Exam Question with Answer & Explanation

The correct answer is A. It could identify the objects multiple ways and then determine the most commonly used and stable. The syllabus discusses using AI-based tools to reduce GUI test brittleness: "AI can be used to reduce the brittleness of this approach, by employing AI-based tools to identify the correct objects using various criteria (e.g., XPath, label, id, class, X/Y coordinates), and to choo

Question

You have been developing test automation for an e-commerce system. One of the problems you are seeing is that object recognition in the GUI is having frequent failures. You have determined this is because the developers are changing the identifiers when they make code updates. How could AI help make the automation more reliable?

Options

  • AIt could identify the objects multiple ways and then determine the most commonly used and stable
  • BIt could modify the automation code to ignore unrecognizable objects to avoid failures.
  • CIt could dynamically name the objects, altering the source code, so the object names will match
  • DIt could generate a model that will anticipate developer changes and pre-alter the test automation

Explanation

The syllabus discusses using AI-based tools to reduce GUI test brittleness: "AI can be used to reduce the brittleness of this approach, by employing AI-based tools to identify the correct objects using various criteria (e.g., XPath, label, id, class, X/Y coordinates), and to choose the historically most stable identification criteria."

Community Discussion

No community discussion yet for this question.

Full CT-AI Practice