java - How to create a executable jar file for Testng and the runnnig point should be the Xml file -


i working on selenium web driver , testng on eclipse ide. run test xml file have created runs methods in eclipse.

now want create simple executable jar should same i.e running point should xml file each test executed .

i trying hard on this. please give me advice on how go further it

use eclipse export wizard. while exporting, select "create runnable jar" , select class entry point (which contains main method) of project.

this class have main method read xml , execute testcases


Comments