Module 21- TestNg Framework | Selenium Forum
M
Posted on 14/04/2016
Hi Ashish,

I am getting error while running testNg xml from eclipse. However, while running the same xml with maven it is running successfully.
I am attaching my project, please let me know why i am facing this issue.

M
Replied on 14/04/2016

do this Window -> Preferences -> TestNG and uncheck 'Use project TestNG jar.


M
Replied on 19/04/2016

Hi,

I am not able to find "Use project TestNG jar" option. I am attaching screenshot for window preference visible to me.

Responsive image

M
Replied on 20/04/2016

add testng in eclipse market place first.


M
Replied on 20/04/2016

It is already installed in eclipse marketplace. Below is the screenshot:

Responsive image

M
Replied on 21/04/2016

what is the version of eclipse you're using?


M
Replied on 21/04/2016

Eclipse Mars


M
Replied on 23/04/2016

uninstall testng plugin and install it again.