'Step Definition detection only works when project is configured as cucumber project.- Virtual Machine
feature file and stepdefiniton file could not be connected. It happens only in eclipse installed in Win Server 2012R2 Virtual Machine.
Solution 1:[1]
This error will appear when you import any new cucumber project from git or directly from local system. Because you have not configured the project to cucumber and it is configured only to maven.
This error can appear for both Selenium and appium testing for web and mobile automation testing.
You can use below screenshot to convert to cucumber project.
Solution 2:[2]
This issue will be resolved if you convert the project as a cucumber project. Right-click on your project from the Project Explorer > Configure > Convert as Cucumber Project.
Solution 3:[3]
After changing the project to Cucumber the issue resolved for me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | NITIN SURANGE |
| Solution 2 | colidyre |
| Solution 3 | nagaraja kumarasamy |

