Q:

How to run a java testNg project's jar in server?

I created a java-testNg project in eclipse.I had another java spring project in which i want to upload that testNg project to sever folder and run it from server.
      On upload time i created the jar of testNg project and i am uploading that jar.Can anybody help how to run that testNg project on server...any ideas....plz help 

A:

You can run TestNG from the command line.
You can execute command line statements from Java using a ProcessBuilder.

