This is the most common issue faced while running a Cucumber Feature File. This issue will not be there if you run the feature using a Runner File.
Reason for Exception thrown
When you move the feature file to another directory and try to run, we come across this exception because runtime will still be pointing the feature file to old location.

Fix
- Right click on feature file and select Run As -> Run Configurations

- Under Cucumber Feature Runner, change the feature path to the updated path. Click Apply and Run.

You must be logged in to post a comment.