Categories: Uncategorized

by Jerome Josephraj


Easiest way to Automate Behavior Driven Development (BDD)

Easiest way to automate your Behavior Driven Development(BDD) is to use NoCodeBDD. In this blog, we will show you how it can be done step by step:

If you haven’t installed NoCodeBDD, click here to download a Free version by clicking Installation process is self explanatory. However, If you need any support refer to

Step 1: Create a Feature file

Creating a Feature in NoCodeBDD is as simple as entering text in any text editor. Simply click on the Feature description box and enter the Feature description and press Enter key or + button next to the Feature description as shown in the gif below

Step 2: Create Scenario

After entering a Feature, your cursor will be automatically placed in Scenario description text box. Simply enter the scenario description and press Enter key or + button next to the Scenario description as shown in the gif below

Step 3: Create Steps

After entering Scenario, your cursor will be automatically placed in Step description text box. Enter the Step you want to create and press Enter key or + button next to the Step description as shown in the gif below. All Steps should start with one of the Gherkin keywords i.e. Given, When, Then and And

Step 4: Create Step Definition to call an API

To automate the feature you just created as part of your Behavior Driven Development(BDD), simply click the burger button (the three horizontal lines left side of the step description) and click on Step Definition then click on “New Step Definition” then select REST and press Next, then select “Send API Request” and press Next. In “Add API Request” page, enter all required details, that you would enter in one of the REST Client like postman or other REST API clients, to call an API.

All these steps are shown the GIF given below:

Step 5: Run your Automated Feature

To run the Automated Step, you created in Step 4, click on Run menu at the top and press Play button as shown in GIF below. You can also press “i” button to view further information like what API is called, what request is passed in including Header details and Response is received.

Hurray! You have just automated your Behavior Driven Development (BDD) in minutes instead of spending hours writing code. It literally took us less than 2 minutes to implement the above given example and our mission is to automate BDDs in minutes. There are several features in NoCodeBDD through which you can automate even the complex features with ease.

Our mission is to increase the speed of automating Behavior Driven Development(BDD) by 10x and without writing any code so Developers and QAs can spend more time on on delivering solution for their business without having to compromise on quality. You can take part in this mission, by sharing your feedback/ideas by simply emailing


Subscribe to our free newsletter.

Related Posts

View all

  • Continue reading
  • With NoCodeBDD, teams can automate Behavior-Driven Development (BDD) Scenarios for mobile applications with few clicks. To create test automation for mobile scenarios, typically, one would use Appium. Using NoCodeBDD, all you have to do is: Following gif shows how this is done for a sample mobile application: NoCodeBDD Mobile Automation NoCodeBDD […]

    Continue reading
  • if("student".equals(userType)){ Assert.assertEquals("STUDENT REGISTERED SUCCESSFULLY",actualMsg); }else{ Assert.assertEquals("ALUMNI REGISTERED SUCCESSFULLY",actualMsg); } When you have test code written like that given above—or. in other words, the code is written to assert an outcome based on conditional logic—it won’t test the scenario as it should. When writing test automation code for behavior-driven development (BDD) […]

    Continue reading
  • There is a general mis-conception that BDD should be used for testing. Many projects consider using BDD during “Testing phase” and only the QA team uses BDD. When BDD is rolled out this way, the teams don’t see the benefits. In this short video, I have explained how Behavior Driven […]

    Continue reading