BDD Functionality
How to use BDD
In the BDD tab, users can Add New Section which is located in the left-hand corner of the application. In the middle of the application, there is code/view and on the right, a model is shown.
BDD has 4 major features.
Let's deep dive into the 4 features.
Code/Gherkin Interface
Link that helps to know more about Gherkins Gherkin Reference - Cucumber Documentation
To start writing scenarios user should click on Add New Section.
View interface
View - This feature provides a graphical building block approach. The building blocks could be rearranged and moved around to modify testcase scenarios. Upon submission, the changes made in the view feature would also be reflected in the code and diagram features.
Example: User can write scenario by using Add New Scenario or Add New Scenario Outline by clicking below options as shown
Scenario
Scenario outline
Both Scenario and Scenario Outline can be written in same feature
How to write scenario in View feature
Users can change the scenario by shuffling steps, deleting them, and updating them by clicking the Submit button.
Modeling Interface
· Model - Using this feature, users can access test scenarios in diagrammatic format and drag and drop test scenarios from the toolbox, as shown below:
Generating Testcase Scenarios in BDD tab:
How to Upload the File in BDD Tab
Begin by navigating to the BDD tab in the user interface.
Click on Add new section.
Locate the file you want to upload and select it.
Click on the upload button to initiate the file upload process.
Once the file is successfully uploaded, proceed to the next step.
Accessing Testcase Scenarios:
In the BDD tab, you will find the uploaded file displayed.
How to Export Files in BDD Tab
The BDD tab in the application provides users with the ability to export files in various formats. Users can select and export files in the following formats: PDF, Excel, PHP, BPMN, Cucumber JS, and SVG.
To export a file in any of the supported formats, follow these steps:
Navigate to the BDD tab in the application.
Click on the section you wish to export.
In the export options, choose the format you want to export the file to. The available options include Cucumber JS, PHP, Excel, PDF, BPMN, and SVG.
Once you have selected the desired format, click on the "Export" button to initiate the export process.
The application will then generate the exported file in the selected format. You can save the file to your local system or open it directly, depending on your browser settings.
How to Import File in BDD Tab
Import a file in BDD (Behavior-Driven Development) tab and execute testcase scenarios, follow these steps:
Open the BDD tab in your application.
Click on "Import".
Locate and select the file you want to import, then click "Open."
The file will be imported into the BDD tab.
Once the file is imported, you can navigate through its sections and scenarios and submit.
Copyright © 2023 Conformiq and its subsidiaries. All rights reserved.