A Model that Minimizing the number of test operations on Web Programming Exhaustive Testing is introduced. The proposed model based for the first time to the best of our knowledge, the Hebbian trained matrix algorithm. The model problem is formed as Agility WEB Programming Methodologies optimization problem. Time and web developer efforts will be reduced on white box testing type. A full numerical solved example is introduced. Our numerical experience shows that our approach is promising especially for Web Programming Exhaustive Testing.