Skip to content

Commit b319ecd

Browse files
committed
Add AI features integration architecture diagram section and update AI features in core features
1 parent ae68f59 commit b319ecd

File tree

1 file changed

+67
-1
lines changed

1 file changed

+67
-1
lines changed

README.md

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
1-
# 🧱 K11 TechLab – Selenium Java Automation Framework
1+
# 🧱 K11 Tech Lab – Selenium Java Automation Framework
22

33
🧰 Getting Started with the Java-Based End-to-End Test Automation Framework
44

55
This Java-based test automation framework is designed to support **end-to-end test coverage** across web, API, and database layers, with seamless CI/CD integration and enterprise-grade extensibility.
66

7+
8+
# 🤖 AI Enhancements (2025)
9+
10+
This framework now includes advanced AI-powered features for smarter, context-aware automation and documentation search:
11+
12+
- **Self-Healing Test Automation:**
13+
- AI-powered element locator healing for resilient UI tests
14+
- Automatically recovers from locator changes using semantic context and RAG
15+
- Reduces test flakiness and maintenance effort
16+
- **Retrieval-Augmented Generation (RAG):**
17+
- Semantic search and answer synthesis over your test docs and codebase
18+
- Supports OpenAI, HuggingFace, and local Ollama embeddings
19+
- Multi-provider, local/cloud, and offline AI support
20+
- **Persistent Embedding Cache:**
21+
- Embeddings are computed once per document chunk and reused for all future runs
22+
- Massive speedup and cost savings for repeated queries
23+
- **AI Demo & Documentation:**
24+
- [Self-Healing Demo/Test Class](https://github.com/K11-Software-Solutions/k11TechLab-selenium-java-fullstack-framework/blob/main/src/main/java/org/k11techlab/framework/ai/selenium/selfhealing/SelfHealingDemo.java)
25+
- [RAGComponentsDemo.java (RAG Test Class)](https://github.com/K11-Software-Solutions/k11TechLab-selenium-java-fullstack-framework/blob/main/src/main/java/org/k11techlab/framework/ai/rag/demo/RAGComponentsDemo.java)
26+
- [Sample Output (Cache Hits!)](https://github.com/K11-Software-Solutions/k11TechLab-selenium-java-fullstack-framework/blob/main/RAGComponentsDemo_output.txt)
27+
- [RAG Demo Article & How-To](https://github.com/K11-Software-Solutions/k11TechLab-selenium-java-fullstack-framework/blob/main/RAG_Demo.md)
28+
29+
These enhancements make the framework ready for next-generation, AI-assisted, and self-healing test automation and knowledge retrieval.
30+
31+
732
---
833

934
## ✅ Core Features
@@ -16,6 +41,21 @@ This Java-based test automation framework is designed to support **end-to-end te
1641
- **Structured Logging & Reporting** with Log4j/SLF4J, ExtentReports, email and screenshot support
1742
- **CI/CD Ready**: Jenkins, GitHub Actions, GitLab, and cloud execution (e.g., Sauce Labs)
1843

44+
45+
# 🚀 AI-Powered Features
46+
47+
- **Self-Healing Test Automation:**
48+
- AI-powered element locator healing for resilient UI tests
49+
- Automatically recovers from locator changes using semantic context and RAG
50+
- Reduces test flakiness and maintenance effort
51+
- **Retrieval-Augmented Generation (RAG):**
52+
- Semantic search and answer synthesis over your test docs and codebase
53+
- Supports OpenAI, HuggingFace, and local Ollama embeddings
54+
- Multi-provider, local/cloud, and offline AI support
55+
- **Persistent Embedding Cache:**
56+
- Embeddings are computed once per document chunk and reused for all future runs
57+
- Massive speedup and cost savings for repeated queries
58+
1959
Built entirely with open-source libraries, this framework is **fully extensible**—ready to scale for validations involving files, emails, microservices, or third-party system integrations.
2060

2161
---
@@ -24,10 +64,36 @@ Built entirely with open-source libraries, this framework is **fully extensible*
2464

2565
### 📊 High-Level Diagram
2666

67+
+-------------------------------------------------------------+
68+
| Selenium Java Automation Framework |
69+
|-------------------------------------------------------------|
70+
| Test Suite / TestNG / POM / Data Providers |
71+
|-------------------------------------------------------------|
72+
| Web, API, DB Utilities | Logging | Reporting | Config |
73+
|-------------------------------------------------------------|
74+
| Page Objects | Locators | Waits | Drivers |
75+
|-------------------------------------------------------------|
76+
| [NEW] AI Integration Layer |
77+
| +-------------------+ +-------------------+ |
78+
| | RAG Engine | | Self-Healing | |
79+
| | - Embedding | | - Locator Healer | |
80+
| | Providers | | - AI Element | |
81+
| | (OpenAI, HF, | | Recovery | |
82+
| | Ollama) | +-------------------+ |
83+
| | - Embedding | |
84+
| | Cache | |
85+
| +-------------------+ |
86+
|-------------------------------------------------------------|
87+
| Test Artifacts / Docs / Knowledge Base (for RAG) |
88+
+-------------------------------------------------------------+
89+
90+
2791
![Selenium Automation Framework Architecture](testartifacts/assets/Selenium_Java_POM_E2E_Automation_Test_Infrastructure.jpg)
2892

2993
> *Selenium Automation Framework Architecture — © 2025 Kavita Jadhav. All rights reserved.*
3094
95+
---
96+
3197

3298
The framework is composed of well-structured layers to ensure **modularity**, **maintainability**, and **scalability** across complex enterprise test environments.
3399

0 commit comments

Comments
 (0)