Blame

d4e348 Harsh 2025-09-30 05:29:53 1
# OptiQA
db3fa5 Harsh 2025-09-30 05:55:13 2
7a25f2 Harsh 2025-10-09 11:05:39 3
**Project:** **OptiQA**
db3fa5 Harsh 2025-09-30 05:55:13 4
7a25f2 Harsh 2025-10-09 11:05:39 5
**Tagline:** **Intelligent, AI-powered quality assurance that keeps pace with modern development.**
db3fa5 Harsh 2025-09-30 05:55:13 6
7a25f2 Harsh 2025-10-09 11:05:39 7
**Team:** **[Quantum](https://wiki.enovate-it.com/Teams/Team%20Quantum)**
db3fa5 Harsh 2025-09-30 05:55:13 8
9
Project Status: In Development
10
154fc7 Harsh 2025-10-09 11:08:01 11
#### **Overview **
db3fa5 Harsh 2025-09-30 05:55:13 12
Software quality assurance today is often manual, repetitive, and slow — creating a bottleneck in the software development lifecycle. QA teams spend countless hours writing test cases, running regression tests, and documenting results, while development continues to accelerate. OptiQA is an AI-powered platform that automates critical parts of the QA process. It generates, executes, and validates test cases intelligently, ensuring higher accuracy and faster release cycles. By combining NLP, ML models, and automation pipelines, OptiQA transforms QA from a manual chore into a continuous, intelligent process. Our vision: QA that’s adaptive, fast, and reliable — keeping up with the speed of innovation.
13
2e49ec Harsh 2025-10-09 11:16:44 14
#### **The Problem **
db3fa5 Harsh 2025-09-30 05:55:13 15
Manual QA is time-consuming and does not scale with modern agile development.
16
Test coverage is often incomplete, leaving gaps that result in production bugs.
17
QA engineers spend too much time on repetitive tasks (regression, log reviews, bug reporting).
18
Companies face higher costs and risks due to human error and inefficient QA cycles.
19
2e49ec Harsh 2025-10-09 11:16:44 20
#### **Our AI Solution **
4584c3 Switi Patel 2025-10-09 10:11:05 21
OptiQA is an AI-powered Quality Assurance automation platform designed to simplify and accelerate the testing process for web applications.
22
Its purpose is to:
05fa4c Switi Patel 2025-10-09 10:12:34 23
- Reduce manual testing effort.
24
- Automatically generate, execute, and validate test cases using AI.
25
- Enable QA engineers and developers to test faster, smarter, and more efficiently.
26
- Provide detailed, real-time test results and maintain prompt/test history for traceability.
4584c3 Switi Patel 2025-10-09 10:11:05 27
28
154fc7 Harsh 2025-10-09 11:08:01 29
2e49ec Harsh 2025-10-09 11:16:44 30
#### **Key Capabilities **
154fc7 Harsh 2025-10-09 11:08:01 31
4584c3 Switi Patel 2025-10-09 10:11:05 32
- AI-driven Test Generation: Users can input natural language prompts; AI converts them into executable test cases.
33
- Automated Execution: Playwright executes the generated test scripts automatically.
34
- Result Visualization: Users can view detailed results for each test run — including pass/fail status, screenshots, and logs.
35
- Prompt History Management: All user prompts and corresponding results are stored and retrievable.
36
- User Authentication: Secure login/signup using JWT-based authentication.
37
2e49ec Harsh 2025-10-09 11:16:44 38
#### **Technology Stack**
4584c3 Switi Patel 2025-10-09 10:11:05 39
edfb63 Switi Patel 2025-10-09 10:56:24 40
| Layer | Technology |
41
|--------|-------------|
c6a031 Switi Patel 2025-11-13 09:13:28 42
| **Frontend** | Flutter |
edfb63 Switi Patel 2025-10-09 10:56:24 43
| **Backend** | Node.js + Express.js |
44
| **Database** | PostgreSQL |
c6a031 Switi Patel 2025-11-13 09:13:28 45
| **AI/ML** | Hugging face' GLM 4.6 |
edfb63 Switi Patel 2025-10-09 10:56:24 46
| **Test Execution** | Playwright |
47
| **Authentication** | JWT (JSON Web Tokens) |
48
| **Hosting (Optional)** | AWS / Render / Vercel |
4584c3 Switi Patel 2025-10-09 10:11:05 49
edfb63 Switi Patel 2025-10-09 10:56:24 50
----
2e49ec Harsh 2025-10-09 11:16:44 51
#### **Workflow Description**
4584c3 Switi Patel 2025-10-09 10:11:05 52
edfb63 Switi Patel 2025-10-09 10:56:24 53
1. **User Registration/Login** → User signs up or logs in.
54
2. **Prompt Submission** → User enters URL + natural language steps (e.g., “Login to Gmail and verify inbox count”).
c6a031 Switi Patel 2025-11-13 09:13:28 55
3. **AI Processing** → Backend sends the prompt to GLM 4.6 model to generate Playwright test script.
edfb63 Switi Patel 2025-10-09 10:56:24 56
4. **Test Execution** → The system executes the generated code using Playwright.
57
5. **Result Storage** → Logs, status, and screenshots are saved in the database.
58
6. **Result Visualization** → User views the detailed report and test history from the frontend.
db3fa5 Harsh 2025-09-30 05:55:13 59
edfb63 Switi Patel 2025-10-09 10:56:24 60
---
61
c69636 Harsh 2025-10-09 11:19:03 62
#### **System Architecture**
2e49ec Harsh 2025-10-09 11:16:44 63
64
**Architecture Overview**
edfb63 Switi Patel 2025-10-09 10:56:24 65
66
OptiQA follows a **modular microservice-inspired structure**:
67
c6a031 Switi Patel 2025-11-13 09:13:28 68
1. **Frontend (Flutter)**
edfb63 Switi Patel 2025-10-09 10:56:24 69
Handles user interaction, authentication, prompt submission, and data visualization.
70
71
2. **Backend (Node.js + Express)**
c6a031 Switi Patel 2025-11-13 09:13:28 72
Manages user requests, invokes GLM 4.6 for AI processing, executes Playwright tests, and interacts with PostgreSQL.
edfb63 Switi Patel 2025-10-09 10:56:24 73
c6a031 Switi Patel 2025-11-13 09:13:28 74
3. **AI Layer (Hugging Face's GLM 4.6)**
edfb63 Switi Patel 2025-10-09 10:56:24 75
Generates test scripts based on natural language prompts.
76
77
4. **Database Layer (PostgreSQL)**
78
Stores users, prompts, test results, execution logs, and screenshots.
79
80
5. **Playwright Test Engine**
81
Executes generated test scripts and sends results back to the backend for storage and visualization.
82
83
---
2e49ec Harsh 2025-10-09 11:16:44 84
**Architecture Diagram**
85
88cd5f Switi Patel 2025-11-13 09:28:05 86
![](./image-1763026069704.png)
2e49ec Harsh 2025-10-09 11:16:44 87
88
### **High Level Design (HLD)**
edfb63 Switi Patel 2025-10-09 10:56:24 89
90
The system follows a modular, scalable architecture that connects frontend, backend, AI, and database layers.
91
The frontend communicates securely with backend APIs, which orchestrate test execution, AI analysis, and reporting.
92
2e49ec Harsh 2025-10-09 11:16:44 93
#### **HLD Diagram**
94
c73167 Switi Patel 2025-10-09 10:58:00 95
![](./image-1760007456155.png)
edfb63 Switi Patel 2025-10-09 10:56:24 96
2e49ec Harsh 2025-10-09 11:16:44 97
#### **LLD Diagram**
edfb63 Switi Patel 2025-10-09 10:56:24 98
e0198b Switi Patel 2025-11-13 09:45:58 99
![](./image-1763027144707.png)
2e49ec Harsh 2025-10-09 11:16:44 100
e2dacb Switi Patel 2025-10-30 07:51:50 101
#### **Key Components**
102
- **User Management Service:** Handles registration, authentication, and user profile management.
103
- **Prompt Service:** Accepts and stores user-submitted prompts; links each prompt to a user.
104
- **AI Response Service:** Interacts with an AI model to generate responses for submitted prompts.
105
- **Test Result Service:** Runs automated test cases on AI-generated outputs and stores results.
106
- **Chat Logging Service:** Records all user–AI interactions (both user and AI messages).
edfb63 Switi Patel 2025-10-09 10:56:24 107
2e49ec Harsh 2025-10-09 11:16:44 108
#### **Database Design**
deb190 Switi Patel 2025-10-30 07:01:03 109
![](./image-1761807647089.png)
edfb63 Switi Patel 2025-10-09 10:56:24 110
4584c3 Switi Patel 2025-10-09 10:11:05 111
2e49ec Harsh 2025-10-09 11:16:44 112
#### **Challenges & Learnings**
db3fa5 Harsh 2025-09-30 05:55:13 113
Converting unstructured requirements into testable cases.
114
Handling variability in logs and error patterns. Ensuring scalability across different projects and teams. Combining NLP + rule-based logic works better than pure ML in early stages.
115
QA automation isn’t just about test execution — it’s about actionable insights.
116
Building a polyglot system (Flutter + Node.js + Python) requires tight orchestration.
117
2e49ec Harsh 2025-10-09 11:16:44 118
#### **Future Roadmap **
db3fa5 Harsh 2025-09-30 05:55:13 119
Short-term goal - Implement regression automation and intelligent log parsing. Medium-term goal - Fine-tune NLP models to generate end-to-end test suites.
120
Long-term goal - Adaptive QA assistant that self-learns from previous test cycles and suggests new edge cases automatically.
121
2e49ec Harsh 2025-10-09 11:16:44 122
#### **Repository & Live Demo**
123
GitHub Repository:
124
FE - https://gitlab.enovate-it.com/enovate/hackathon/optiqa-fe
125
BE - https://gitlab.enovate-it.com/enovate/hackathon/optiqa-be
126
db3fa5 Harsh 2025-09-30 05:55:13 127
128
Categories: #project #ai-hackathon-2025 #category-QA #category-automation #category-ai