Runner Errors

Message:  "Please, add your BDD Components and enjoy BDD."

Reason: The BDD Extension Framework cannot locate a BDD Component attached to the Integration Test.

How to fix it:

  • Add a BDD Component

  • Change the declaration of an already attached component

  • Delete the BDD Extension Runner.

 

Message: "The component componentName is duplicated."

Reason: The BDD Extension Framework finds more than one BDD Component with the same name. You can have only one component at a time with the indicated name.

How to fix it: Delete the other component with the name indicated.

 

Message: "There is more than one Static BDD Component. Only one is allowed".

Reason: For a Static Scenario, the BDD Extension Framework needs to have one Static Method only.

How to fix it: delete the unused Static Methods.

 

Message: "Incomplete settings detected on [Given|When|Then] methods at position n".

Reason: For a Dynamic Scenario there is a combo box not set yet with a Step Method.

How to fix it: Choose a Step Method or delete the row.

 

Message: "Method componentName.methodName not found on [Given|When|Then] methods at position n".

Reason: An already configured Step Method points to a method that is not present in the indicated component anymore. It could happen if the original method is renamed, deleted, or its BDD Declaration is changed (for example if it is changed from Given to When).

How to fix it:

  • Rename back the method to the original name.

  • Create a BDD Method again with the name indicated.

  • Fix the BDD Declaration of the method.

  • Choose another method.

 

Message: "The parameter componentName.methodName.parametername is not found in [Given|When|Then] methods at position n".

Reason: After configuring the Step Method, the parameter indicated has been renamed or deleted.

How to fix it:

  • Rename back the parameter.

  • Create another parameter with the same name and type.

  • Execute the "Rebuild Settings" option if you want to delete the previous information about the parameter indicated.

 

Message: "The parameter componentName.methodName.parametername has a wrong type in [Given|When|Then]  methods at position n. Previous type: type1 Current type type2".

Reason: After configuring the Step Method, the parameter indicated has changed its type.

How to fix it:

  • Change back the type or the parameter indicate: you are going to save the value previously inserted via inspector.

  • Execute the "Rebuild Settings" option if you want to overwrite the previous information about the parameter indicated: you are going to lose the previous value inserted via inspector.

 

Message:  "The component for the method componentName.methodName is not found in [Given|When|Then] methods at position n".

Reason: After configuring the Step Method, the component that contains the method has been removed from the Integration Test or has been renamed.

How to fix it:

  • Add the component again.

  • Rename back the component.

  • Chose another Step Method or delete the row.

 

Message: "The ParametersValuesStorage field fieldName for the parameter componentName.methodName.parameterName is not found in [Given|When|Then] methods at position n".

Reason: After configuring the Step Method, the BDD Extension Framework cannot locate the indicated field. It could be renamed or deleted.

How to fix it:

  •  Rename back the indicated field.
  • Create the field again.

  • Execute the "Rebuild Settings" option if you want to overwrite the previous information about the field indicated: you are going to lose the previous value inserted via inspector for the parameter indicated.

 

Back to: Components Errors Read next: The BDD Framework in detail: the code reference

 

© 2017 Hud Dimension. All Rights Reserved.

Search