Can AI Suggest Test Assertions Automatically Based on Page Context?

Hello

I have been experimenting with AI in Katalon Studio & one idea I am excited about is whether AI can go beyond test generation and actually suggest smart assertions based on the context of the page or user journey. :innocent:

For eg; if a test script navigates to a product checkout page, could AI suggest asserting the presence of “Total Amount,” “Place Order” button /expected price values even without being explicitly told? :thinking:

I know Katalon integrates with GPT-based tools but the current use cases I have seen focus mostly on generating test steps / summarizing results. :thinking:Has anyone explored or implemented a workflow where AI analyzes the DOM, page structure, or past test data to automatically recommend assertions? :thinking:

This would be hugely helpful for reducing human error and accelerating test creation, especially for large web apps. Checked Supercharge Testing with Katalon's AI-Powered Features guide for reference .

This question actually came up while I was trying to explain to a colleague what is ChatGPT and it led to a deeper conversation about how LLMs might improve test quality, not just quantity. :upside_down_face: If anyone has used AI for intelligent assertions or validation logic in Katalon, I would love to hear how you approached it.

Thank you !! :slightly_smiling_face:

2 Likes

Hi @benof,

Thanks for your question. I would like to ask if we could move this to the current running Ask Katalon Anything (AKA) session with our Product Owner [AKA] June 2025 | Katalon Studio. If yes, I can proceed with merging.

Thanks!