0

When trying to consume data from XML in the project in Quantum Perfecto, I am getting Lexing error. I have attached the scenario with this and the error.

Evern the same error is seen in quantum starter kit project too.

@GettingToKnowYou
Feature: Verify the Borrower can Navigate through Getting To Know You Pages

   @GKY @Test
 Scenario Outline: Verify Borrower complete Getting To Know You Page

   Given User already Signed with "<emailaddress>" and "<password>" 

    Examples: {'key' : 'blenddata.borrower.dataset'}

enter image description here

1 Answers1

0

You didn't provided details of the editor you are using. This looks like error from editor and not related to quantum project. I hope you will be able to run your test without any issue. You can try using qaf bdd editors.

Furthermore you can start using BDD2 syntax instead of Gherkin. BDD2 is advanced syntax and compatible with most of the gherkin editors. In BDD2 syntax your feature file may look like below:

@GettingToKnowYou
Feature: Verify the Borrower can Navigate through Getting To Know You Pages

 @GKY @Test
 @key:blenddata.borrower.dataset
 Scenario Outline: Verify Borrower complete Getting To Know You Page

   Given User already Signed with "<emailaddress>" and "<password>" 

In run configuration for feature files which is written in BDD2 you need to use BDDTestFactory2

user861594
  • 5,733
  • 3
  • 29
  • 45
  • Thanks ! Will try that and let you know. Thanks for the response. – dineshbalajibingo Dec 31 '19 at 12:55
  • Hello @user861594 I have installed the cucmber and qaf editors from below sites. I am still seeing the issue. https://qmetry.github.io/qaf/editor/bdd/eclipse/ http://cucumber.github.io/cucumber-eclipse/update-site/ – dineshbalajibingo Jan 07 '20 at 05:54
  • try right click ->open with and open with qaf gherkin editor. – user861594 Jan 07 '20 at 16:40
  • Thanks ! I have no issues in opening. I have issue while running as cucumber feature file. When trying to run I am getting the messgae I have mentioned in my question at top - Lexing error – dineshbalajibingo Jan 08 '20 at 15:12
  • Are you running using cucumber runner? If so try running with [qaf runner](https://stackoverflow.com/questions/56048141/how-to-run-single-scenario-in-eclipse-with-qaf-bdd-editor). – user861594 Jan 08 '20 at 17:01