Standalone exe of testframework developed using testng | Selenium Forum
M
Posted on 28/09/2015
Hi All,

I have developed test framework using testng. Now to I want to create the standalone executable of test framework through maven, so that I can execute it outside eclipse, may be using a batch file.

I didn't have mail class, which is required to create executable. I use the following link to create a main class.
http://stackoverflow.com/questions/16465695/how-to-run-testng-tests-from-main-in-an-executable-jar

When I tried to run it as java application it throws a TestNG exception stating 'two suites cannot have the same name'.
But there are no duplicate file names in the linked suite file.

Please let me know if anyone has faced such issue?? or is there any other solution?

Please respond asap. I am stuck with it.

M
Replied on 03/10/2015

hi, sorry for the delay

so can you upload a screen shot and send the complete error. I'm not able to understand which 2 suites.