By and large, software testing can be well thought-out as a adept technique of achieving improved software quality as well as reliability. On the other hand, the eminence of the test cases had significant effect on the fault enlightening competence of testing activity. Prioritization of Test case (PTC) remnants one challenging issue, as prioritizing test cases remains not up in the direction of abrasion by means of respect to Faults Detected Average Percentage (FDAP) and time execution results. The PTC is predominantly anticipated to scheme assortment of test cases in accomplishing timely optimization by means of preferred properties. Earlier readings have been presented for place in order the accessible test cases in upsurge speed the fault uncovering rate in testing. In this phase, this learning schemes a Modern modified Harris Hawks Optimization centered PTC (M 2 H 2 O-PTC) method for testing. The anticipated M 2 H 2 O-PTC method aims to exhaust the possibilities the FDAP and curtail the complete execution time. Besides, the M 2 H 2 O algorithm is considered for boosting the examination and taking advantage abilities of the conservative H 2 O algorithm. For validating the enhanced efficiency of the M 2 H 2 O-PTC method, an extensive variety of simulations occur on contradictory standard programs and the outcomes are inspected underneath numerous characteristics. The investigational results emphasized enhanced proficiency of the M 2 H 2 O-PTC method in excess of the modern methodologies in standings of dissimilar measures.