A wastewater lab sample-log team maintains two automated suites: one GUI suite that fails when page locators shift after a redesign, and one API suite that fails when the JSON response schema changes. Which GenAI-assisted regression approach best matches each suite?
Select an answer to reveal the explanation.
Short Explanation
Think of GUI flakiness like a moving desk label and API breaks like a changed shipping form. GenAI helps rewrite the locator steps for the screen, and rewrite the request payloads for the new contract.
Full Explanation
For GUI regression, GenAI support focuses on adapting locators and interactions when the interface drifts. For API regression, the help is adapting requests and data so tests follow the updated specification. Treating the LLM as the product under test, or asking it to redesign the system, misses the syllabus distinction between GUI and API maintenance tasks.