The paper discusses an evolutionary testing approach using a stage-based genetic algorithm (SBGA) to solve multivariate optimization problems in software engineering, specifically for generating test cases in object-oriented programs. The SBGA is compared to traditional genetic algorithms and is found to improve test case generation efficiency by achieving higher path coverage while minimizing execution time and test suite size. Experimental results demonstrate that the SBGA effectively satisfies multiple objectives simultaneously, leading to improved performance in software testing.