mercredi 29 novembre 2017

How to pass test class name as input parameter using java reflection in testNG?

Currently am executing testNG scripts through jenkins, in my code base am having around 75 test class, but i want to run specific test cases only. For achieving this i need to pass the test class name to testNG.XML. We can achieve this through reflection, but i dont know how to proceed with this.





Aucun commentaire:

Enregistrer un commentaire