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
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.