Quality is delighting customers
Thanks for your reply.
Using TestNG framework and little changes to the XML file we can rerun all failed scripts without much effort.
We can use TestNG class and specify the failed_test.xml path to the TestNG to run the failed test cases. For more details, View below link: