Software Testing Board
Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!
Exception in thread "main" cucumber.runtime.CucumberException: Error parsing feature file /Users/ethemtopuk/bex-automation/src/test/resources/features/addressIntegration1.feature
Caused by: gherkin.lexer.LexingError: Lexing error on line 218:
I am getting above error while executing my cucumber test. Can you explain what's wrong?
202 points Moderator
LexingError usually occurs if you missed adding '|' at the end of your line. This is the case most of the time.
In your case, go to line #218 and verify. If you have missed | at the end of the line, add it.
Get access to your account and question