Forum Discussion
Have you tried run your pom.xml by 'mvn.bat' directly? May be you have some errors in your Maven project?
I don't think there is a Maven project problem. When I select 'All Tests' it actually runs all of the tests I have in the project. I was just hoping I could get the 'specific' test feature working.
- Bobik8 years agoFrequent Contributor
Try write class name in TC like "withdrawalTest.loginTest".
- andrewa8 years agoContributor
I just tried something like that, and I got the same error message:
Exception in thread "main" org.testng.TestNGException:
Cannot load class from file: loginTest- Bobik8 years agoFrequent Contributor
Strange situation. Are you sure you tried use '<PackageName.ClassName>' format?
I think in this case you should get error like (if something still wrong):Exception in thread "main" org.testng.TestNGException:
Cannot load class from file: withdrawalTest.loginTestBut I don't see the package name in your error text. Please check it again.
No other ideas.
Related Content
Recent Discussions
- 3 minutes agosimonaferrara
- 4 hours agoAli2