While many companies talk about the potential of Artificial Intelligence (AI), CodeGen International (Pvt) Ltd, a pioneering technology company in Sri Lanka, is turning that potential into tangible results for its clients today. The company is the first in the nation to directly translate AI advancements into improved software reliability and service quality.
At the heart of this transformation is CodeGen’s Quality Assurance (QA) team, the guardians who ensure that the software used by clients is seamless, reliable and fundamentally bug-free. Using intelligent automation, CodeGen QA team is able to work faster and more accurately than ever.
An Innovation Born of Necessity
Software testing is traditionally one of the most time-consuming stages of development. It requires QAs to manually verify every button, form and reservation flow to ensure a bug-free experience. To keep up, our team originally relied on industry-standard tools like Selenium and later Katalon. However, the landscape shifted when external subscription costs increased massively. Faced with increasingly expensive fees, CodeGen’s management reached a crossroads; continue paying for third-party tools or take a bold leap and build its own.
CodeGen chose to build. That vision was given a name, “AutoFlex.”
Navigating the Road to Breakthrough
Deciding to develop AutoFlex in-house was a massive leap of faith. It was like trying to rebuild an engine while the car was still racing at full speed. The obstacles seemed overwhelming, yet the mission was clear: create a tool that wasn't just a replacement but an upgrade.
To succeed, the CodeGen QA team had to overcome several real-world challenges;
Today, what began as a response to a financial burden has become a technical triumph. AutoFlex has slashed test script creation time by 60% compared to traditional methods, turning a challenge into a massive competitive gain for Sri Lanka’s tech industry.
Supercharging the Testing Lifecycle
CodeGen reimagined the typical QA lifecycle, from review and analysis to client delivery, by integrating AI at every step. In this new model, a process that once took 8-10 hours manually can now be completed in just 2-1.5 hours.
AutoFlex stands out due to several high-tech, intelligent capabilities designed for the modern developer;
In fast-paced development environments, the "look" and interface of a website are constantly evolving. Traditionally, even a minor update, like renaming a button or moving a search bar would cause automated tests to crash because they could no longer "find" the element.
Healenium uses AI and Machine Learning to recognize these User Interface (UI) updates in real-time. Instead of failing because of a visual change, the script intelligently identifies the new element, "heals" itself and continues the test without interruption. Once the run is complete, it provides a detailed report and screenshots showing exactly what was modified and how it was handled. This ensures that the testing process keeps moving at full speed, even as the software grows and changes.
This is another enhancement to AutoFlex currently being implemented. The objective of this feature is to further reduce runtime errors and ensure that tests remain stable and accurate, even when a page's underlying structure shifts slightly.
AutoFlex is a versatile powerhouse that supports Visual Testing, Accessibility Testing and seamless CI/CD integration. This ensures that software is not only functional but also inclusive and ready for non-stop delivery.
The Future with Lumos Integration
AutoFlex is currently being integrated with Lumos, CodeGen's AI-assisted PDLC platform. This collaboration will allow test suites and complex code to be generated automatically through AI. The ultimate goal is to use this synergy to eventually generate up to 80% of all automation scripts, transforming manual coding into a high-speed, intelligent generation process.
A Cultural Shift: Doing More With Less
These AI-driven processes have not replaced people — they have unlocked them. QAs now spend less time on repetitive tasks and more time on meaningful work like analysing customer needs, improving quality and supporting new product innovation.
As Head of QA, Ashani Halpita, explains:

“Integrating AI into our QA ecosystem has fundamentally changed the way we operate. Complex testing activities that once consumed hours are now executed in few minutes, with unprecedented precision and consistency. AI has not only increased our team’s productivity but has also strengthened defect discovery and test coverage and empowered us to deliver reliable, high-quality releases with confidence.”
A New Standard for Sri Lankan Innovation
CodeGen didn’t just adopt AI; it pioneered it from the ground up. By building an entire AI-powered ecosystem right here in Sri Lanka, the company has set a bold new benchmark for the local technology industry.
Aiming to empower the wider tech community, CodeGen also hopes to eventually open access to the AutoFlex tool for other technology companies through its Lumos platform, fostering a more collaborative and advanced local landscape.
The impact of this homegrown innovation is clear; superior software is now delivered faster, with far fewer errors and customers are the direct winners of these efficiency gains. As Sri Lanka steps into an AI-driven future, CodeGen continues to lead the charge, proving that world-class innovation is happening right here at home.
Leave Comments