Question: How do I set method priority in TestNG XML rather than adding it at class.method level with priority tag?
I tried finding out answer for this but I was not able to find this specific point anywhere.
Use Case: I can generating TestNG XML Programatically and invoking test methods based on the given method names written in an external file as a datasource.