RE: Error – Test class not found in selected project in cucumber

I am new to cucumber. I followed your whole cucumber tutorial step by step. I f I run the selenium test it runs successfully. But When I run TestRunner class, it shows this error for Login Functionality, when double clicked.

For code, its same whats on your website. Please help …

RE: Error - Test class not found in selected project in cucumber

Add Comment
4 Answers

The element that you are trying to locate has invalid xpath. Can you recheck the xpath of the element and use the correct one. Try firebug to find the xpath. Here is the tutorial
http://toolsqa.com/selenium-webdriver/xpath-firebug-firepath/

Professor Answered on January 5, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.