QAF Perfecto - Not able to consume test data from XML

113 Views Asked by At

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

There are 1 best solutions below

5
user861594 On

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