Maven Ant Integration issue | Selenium Forum
M
Posted on 25/01/2016
Hi Ashish,

I have gone through your training video - 9 - Apache Maven.

Created Maven project. Able to run script successfully.

Now i integrated with Ant. Trying to run from command prompt using testrunner.bat file (bat file having following commands - ant clean compile run). It launch only browser but script is not getting executed.

Have you done any project with Maven Ant integration along with TestNG?

If i map local directory jar files then script is getting executed. But when i try to map with maven repository (M2_HOME) then i am facing the issue.

Attached my project for your reference.

Please have a look and help me

M
Replied on 30/01/2016

i'm looking at your project give me some time. everything seems to be fine.


M
Replied on 01/02/2016

hi, i found this try the solution and report back

http://stackoverflow.com/questions/25088899/selenium-webdriver-throws-exception-when-trying-to-run-via-ant