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

Thanks virender for your reply.

The reason this error is coming is : there is no login page.

According to the code for cucumber tutorial, first my account button should be clicked, the login credentials should be entered and then after successful login you should logout.

Now If I run selenium test this functionality is working. But with test runner class……. it is just opening the demo website in browser, not clicking on it.
And it is directly going to the logout scenario. That y the error is there, as there is no logout button on the browser.

So, my problem is why it is not entering into Given scenario.

Thanks,
Manasi

Train Answered on January 5, 2016.
Add Comment

Your Answer

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