Converting Gherkin Based Feature File to CSV Format

Modified on Fri, 21 Jun at 11:29 AM

TABLE OF CONTENTS

1.Overview

1.1.Converting Feature File into CSV Format

2. Related Articles

1.Overview

This article describes about the converter functionality for converting Gherkin-based Feature File generated in the Test Case folder into Comma-Separated Values (CSV) file format.


1.1.Converting Feature File into CSV Format

 To convert the generated Feature File into CSV file format, perform the following:


  1. Navigate to required Test Case generated folder in the Project Explorer pane. 
  2. Select text file generated Feature File option and select Download CSV option to download the file, as shown:

  3. The downloaded file displays scenario outline and Given When Then steps for a specific functionality, as shown:
  4. Save the generated CSV file into desired location.

    Example CSV File Structure:
  5. If you have generated Feature File in the Test Cases folder for an API test automation and wish to convert into CSV format, then perform the following:
    1. Navigate to the Test Cases generated folder in the Project Directory pane.
    2. Right-click on the appropriate Feature File generated and click the Download CSV button.


    3. The downloaded file displays scenario outline along with Given When Then steps and an example table for a specific functionality, as shown.
    4. Save the generated CSV file into desired location.

      Example CSV File Structure














Behavior-Driven Development (BDD) Complaint Feature Files

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article