Genetic Algorithm: Black box software testing for UI applications
Genetic Algorithm: Black box software testing for UI applications Every QC person in software industry has that embarrassing moment when a defect is overlooked and finally caught in production after causing lot of sorrow to lot of stakeholders. In this blog, I am attempting a Genetic Algorithm (GA) that can uncover the plausible scenarios that might be a defect in the application. These are the scenarios that will not even cross the mind of the QC in most circumstances. We will see an application that is used to create and track events and using the GA we will try to find the scenarios where user may create an event when he/she should not be able to do so. We are trying to find the defective flows in the application. Before going any further, let me try to explain what genetic algorithm is with an example. Genetic Algorithm: Genetic algorithms are heuristic method of optimization that operate on pieces of information like nature does on genes dur...