[TestNGClassFinder] Warning: Can't link and determine method | Selenium Forum
M
Posted on 24/04/2016
Sir,

i imported <Core_Framework_TestNG_Webdriver> into eclipse.
Have set [b:y6jydnh7]RunMode -Y[/b:y6jydnh7] for respective suite,testcase & testdata of [b:y6jydnh7]AddProductTest .xls[/b:y6jydnh7] sheets respectively.

When i run TestNG.xml, no tests are run.
[b:y6jydnh7]Issue:[/b:y6jydnh7] [TestNGClassFinder] Warning: Can't link and determine methods of class com.qtpselenium.suite.shop.AddProductTest

message is displayed.

M
Replied on 26/04/2016

send the project.


M
Replied on 26/04/2016

Attaching project


M
Replied on 26/04/2016

Am trying to do this way [b:jgz1rl86][not via cmd prmpt][/b:jgz1rl86]

Open eclipse
Click File > Import
Type Maven in the search box under Select an import source:
Select Existing Maven Projects
Click Next
[b:jgz1rl86] Click Browse and select the folder that is the root of the Maven project (probably contains the pom.xml file)
Click OK[/b:jgz1rl86]--------------------[b:jgz1rl86]--------------------------------->i am not sure which folder to select which is root & has pom.xml[/b:jgz1rl86]
Under Projects: click the checkbox next to the pom.xml file
Click Finish


M
Replied on 27/04/2016

[quote:26zakl5n]AddProductTest .xls[/quote:26zakl5n]

it only works with xlsx file.

and i tried to run your project it is running fine.

send screen shot of the error.


M
Replied on 29/04/2016

What i did was this sir:


i put respective folder:[As attachment] in my workspace[copy paste]

i open eclipse>my workspace
import>General>Exisiting project into workspace
Browse to previously pasted project location.
Select Finish button

Now if i try to run the testNG.xml of respective project .... i get following warnings .. pls see attachment:

Responsive image

M
Replied on 29/04/2016

download eclipse again and install testng again.