Gen AI
Welcome to PruTAN's Gen AI module — a revolutionary feature that harnesses the power of advanced AI language models to automate complex test script creation, simulate workflows, and analyze scenarios. By integrating generative AI into your testing workspace, you can write, run, and validate scripts faster without manually coding test logic.
Image 1 : Gen AI Module Overview
Overview
The Gen AI panel allows users to write or load scripts written in plain English or structured text, and then process them using a selected AI model. PruTAN automatically interprets the script, simulates execution steps, and displays results in real-time under the Processing Steps section.
This feature is designed to:
- Convert natural-language descriptions into structured test executions
- Simplify ISO message-based or REST-based scenario creation
- Support sandboxed or custom test cases for faster prototyping
- Integrate with multiple AI model providers
Supported AI Models
Users can choose from available AI models for script execution and analysis:
| Model | Description |
|---|---|
| GPT-4o mini | Optimized for reasoning, accuracy, and structured output generation. Ideal for test case simulation, message interpretation, and response validation. |
| Llama 3.2 | Lightweight and efficient model for faster script processing and smaller test scenarios. Suitable for quick validations and logical test steps. |
Writing and Loading Scripts
You can write or upload test scripts in the Script Editor. Scripts can describe test cases, simulations, or system interactions using natural or structured language.
Example Script:
# Demo Test Case: Simulate ATM Cash Withdrawal
Given the sandbox environment is initialized
And a test card with balance $1000 is available
When the client initiates a withdrawal of $200
Then the system should approve the transaction
And the remaining balance should be $800
And the transaction status should be marked as "Completed"Once written, click Run Script to execute the test flow using the selected AI model.
Image 3 : Script Execution
Execution and Processing
When a script is executed, PruTAN's AI engine interprets and processes it through several automated steps:
- Script Analysis — The AI model understands your test case logic and expected behavior
- Task Planning — The engine breaks down the script into actionable test steps
- Execution Steps — Each step is validated and displayed in real time
- Processing Results — The panel on the right side shows progress, completion status, and outputs
Once completed, you'll see:
- A Processing Tasks bar showing total steps and progress
- Execution Steps listing detailed actions and validations
- A success message: "All tasks completed successfully"
Managing Scripts
Each AI script is stored within a Collection under the Gen AI module, similar to API requests or transactions. You can:
- Create new Gen AI collections
- Save multiple scripts under each collection
- Reuse, modify, or share scripts for different testing scenarios
Use Cases
Some practical use cases for Gen AI in PruTAN include:
- Generating automated test cases from text-based specifications
- Simulating ISO or REST transaction flows
- Creating mock sandbox environments for validation
- Rapidly prototyping financial or message-based workflows
- Validating pre-defined business rules using AI-driven reasoning
The Gen AI module in PruTAN revolutionizes how test automation and analysis are performed — enabling users to transform plain text into actionable, AI-powered test flows. With model flexibility, live feedback, and smart execution, it bridges the gap between manual testing and intelligent automation.