{"id":5635,"date":"2022-07-06T10:22:55","date_gmt":"2022-07-06T10:22:55","guid":{"rendered":"https:\/\/www.folio3.com\/mobile\/?p=5635"},"modified":"2022-07-07T11:02:47","modified_gmt":"2022-07-07T11:02:47","slug":"automation-testing-using-cucumber-bdd-with-selenium","status":"publish","type":"post","link":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/","title":{"rendered":"Automation testing using Cucumber BDD with Selenium"},"content":{"rendered":"\n<p>In this blog, I will describe how to integrate Cucumber BDD with Selenium step by step and also explain a simple Test Case to Login to the website. In this article, we will cover the basics of Automation testing using Cucumber BDD with Selenium. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is Cucumber?<\/strong><\/h2>\n\n\n\n<p>Cucumber is a tool that supports Behavior Driven Development (BDD). Using BDD we can define testing steps in a simple English language (Gherkin) which is easily understandable by any non-technical team member or business stakeholders. Cucumber supports different languages like Java, C#, ruby, python etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is Selenium?<\/strong><\/h2>\n\n\n\n<p>Selenium is an automation testing tool (open source) that can execute several functional test cases for web-based applications across multiple browsers. It supports multiple languages like Java, C#, ruby, python etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is BDD?<\/strong><\/h2>\n\n\n\n<p>Behavior Driven Development (BDD) is an approach to write test cases in a human understandable format with the help of Gherkin. BDD not only bridges the gap between analyst and developers but also between Manual QA and Automation Testers (who write BDD).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Example:<\/strong><\/h2>\n\n\n\n<p>Let us understand with this simple example which we will add in the feature file.<\/p>\n\n\n\n<p><strong>Feature<\/strong>: Login feature.<\/p>\n\n\n\n<p><strong>Scenario:<\/strong> Verify user can log in with a valid username and password.<\/p>\n\n\n\n<p><strong>Given<\/strong> Navigate to the Login page<\/p>\n\n\n\n<p><strong>When<\/strong> User Login with valid user name and password.<\/p>\n\n\n\n<p><strong>Then<\/strong> User should be logged in successfully.<\/p>\n\n\n\n<p>This is the practice where your test cases are written in plain English.<\/p>\n\n\n\n<p>Now let\u2019s understand the purpose of each keyword of Gherkin syntax<\/p>\n\n\n\n<p>\u00d8&nbsp; <strong>Feature:<\/strong> Feature keyword provides a high-level picture of what the software is supposed to do and each feature may have multiple scenarios.<\/p>\n\n\n\n<p>\u00d8&nbsp; <strong>Scenario:<\/strong> Scenario of that feature to test.<\/p>\n\n\n\n<p>\u00d8&nbsp; <strong>Given: <\/strong>Given is basically the initial context before execution or you can say prerequisite as well.<\/p>\n\n\n\n<p>\u00d8&nbsp; <strong>When: <\/strong>When declares an action performed by the system.<\/p>\n\n\n\n<p>\u00d8&nbsp; <strong>Then: <\/strong>Then a keyword is used to see the expected result or outcome.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/rf7IucvL2kb0GjpZDOzzZ2ej8MXse9FnbL81ANoJIX6reqDwfRnuW_-92BXzrgeZnYdHkms1KqLusXXLEKQ4-oaJY-4r28mgTBFWBp88iZygMH_FMBKG27i5ox-VuMaUu6S_-WTe9FfxprcCAA\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why use Cucumber with Selenium?<\/strong><\/h2>\n\n\n\n<p>\u00d8&nbsp; Cucumber makes it really easy to read and understand the flow of the application.<\/p>\n\n\n\n<p>\u00d8&nbsp; While Selenium allows you to run your functional test cases on web browsers.<\/p>\n\n\n\n<p>\u00d8&nbsp; With the combination of Cucumber and Selenium the gap between technical and non-technical team members is removed.<\/p>\n\n\n\n<p>\u00d8&nbsp; Makes it easier for clients to understand test cases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Pre-Requisites for Cucumber:<\/strong><\/h2>\n\n\n\n<p>\u00d8&nbsp; Download and Install Java.<\/p>\n\n\n\n<p>\u00d8&nbsp; Download and Install Eclipse IDE.<\/p>\n\n\n\n<p>\u00d8&nbsp; Download Cucumber and Selenium JARs.<\/p>\n\n\n\n<p>Link for downloading: <a href=\"https:\/\/www.automationtestinghub.com\/download-cucumber-and-selenium-jars\/\">https:\/\/www.automationtestinghub.com\/download-cucumber-and-selenium-jars\/<\/a><\/p>\n\n\n\n<p>\u00d8&nbsp; Add the Cucumber plugin from the marketplace.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Creation of Project using Cucumber with Selenium:<\/strong><\/h2>\n\n\n\n<p><strong>Scenario<\/strong>: Verify user can log in with a valid username and password.<\/p>\n\n\n\n<p><strong>Step1) Create Project in eclipse:<\/strong><\/p>\n\n\n\n<p>Create Java Project as shown in the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/CAIFfqK30DZ_r4CVN_DJq5GIc8l5dGm3744fhLChLsnaBAhuG7Qp3P5CT2OVFG8t4WJiPXXOGXZHJ9p390X6kpKblyhsoTpeJUSqRFM0ritG1m3lXBpz1mtdSbV2Fhw0dz3Zb1wduscB9ULaJw\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step2) Adding Jar files in the project:<\/strong><\/h3>\n\n\n\n<p>Right-click on the Project &gt; Properties &gt; Go to Java Build Path. Add all the libraries downloaded earlier as mentioned in Pre-Req.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/IsPewy0VcvbFb41KRxf3B_vYiqRxbhBk7X6HnlsRpwqyNWAl-yZk2IEXpOtGpPYpmtUqHPHcwI0I9Jhw_eIBK13yCbAjzpPYZDwC5FDzeDHsSG971k2gvED9zs2Di7QrNbfgzIcBGBjUlkpf1w\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step3) Creating Feature file:<\/strong><\/p>\n\n\n\n<p>Firstly we will create the Feature folder then we will add the feature file with the name Login.feature<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/kcWThvwInsCQGeBCoOfh0cHIMQ8N98nTFR6f8Mj6I1_TMQLLdPPK7d0yM_Sf8a_vK_8aj3HVK1jfgrqMdY1s93AWalWKLCRbtMr_GeNwOCCXVh5dSDPreUvdMr0iN-zUXcpKDfjuPAUotidLeQ\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Note<\/strong>: Cucumber Eclipse Plugin must be installed as mentioned in the Pre-Requisite for the feature file to work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step4) Add scenario in the Cucumber feature file:<\/strong><\/h3>\n\n\n\n<p>Below mentioned lines are written using Gherkin language in the Login.feature file.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/ECH7rU_O1taKAN1Bk977hF1WZEeYOpwK4iB7AlVTLSN0sfxLUDvsylSirGvDoGlxtMUSyykFxNbpvrBI5pooNVw0SZ6EyVat5ndkKHzoL6C3CloOlT3UkfiWUTj5SgUb2Fpn1cbdVjxf0sUvNrA\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step5) Create Cucumber Test Runner class:<\/strong><\/h3>\n\n\n\n<p>With the help of the Cucumber Test Runner class, we can run the Cucumber feature file.<\/p>\n\n\n\n<p>We created the \u201cTestRunner\u201d package and then added the \u201cRunner.java\u201d class file under it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/O6fnx944u9ZY-t4-o55g6nnrTEJBbqGw5C_8GbPQAuSw9apECIFnpkdI1dPQ7uki4_jwkoWw_ACySA7FgWnUF8yRmufgIBOKuQJO0VllEA7ghHyvqBROfemf64Quw9ceIsAUo2lBr0MZAoJv4w\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>@RunWith<\/strong> annotation tells JUnit to run the class as mentioned with the name \u201cCucumber.class\u201d. Cucumber is just a class that comes from this library \u201ccucumber.api.junit.Cucumber\u201d.<\/p>\n\n\n\n<p><strong>@CucumberOptions<\/strong> annotation provides the path for our cucumber test like feature file and step definitions. Step Definition class is a java method that is associated with the feature file.<br>We can define other options as well like Tag, Hooks, DryRun and etc etc.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step6) Create Step Definition class:<\/strong><\/h3>\n\n\n\n<p>Step Definition is a Java class which is mapped with the feature files (Gherkin language). Step Definition is nothing but the steps you performed under the methods. Against each step of the feature file, you should add a step definition method. That\u2019s how all your feature file steps (Given\/When\/Then) will have a method linked with it.<\/p>\n\n\n\n<p>Now, when you run the feature file Cucumber would execute the step definition methods associated with the feature file.<\/p>\n\n\n\n<p>We created the StepDefinition package and then added Steps.java class under it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/a6zQJ9TogAD-SLINSnf87rftnT8chHLAlXpRHND46fPqwHaojDmxbywrrrW4EGexGQAh58mExlOOVdaCpCI_NrW5Fua8WknRDOHj0xc2KL-lhVvAbfiY5VFy2MGnZnDzqIYBOOSeyqtdzC-kdIA\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step7) Executing the Script:<\/strong><\/h3>\n\n\n\n<p>We can execute the script by right-clicking on <strong>TestRunner &gt; Runner.java<\/strong> class and then select <strong>Run As &gt; JUnit Test<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/gX-6-TWeEe1c8FIJBhY3gWRarqbWA6TflOQl-G1VE8ETMlvS1UiY6ybbREDvdUF-fFjQ3Z6HuX76taLxnOt_NfLUKR-gXbi7lqc9ghhTggqMRh7ED9MPpOU0UE2DcQjkmYd7bXkFh-dC0iz0bro\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step8) Output of the script.<\/strong><\/h3>\n\n\n\n<p>On successful execution, this is how the output is shown with each step mentioned.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/glLeS4I6fmD7nXfSOPkP4ThvRcECqLJa7g5UsSWIMXLJgnhmXM5VHXrArzmlLQheWAFQwXPHYnHenzZ5vR63gcB3bJAYV1MYJEyvBzFhBOf_pgg2Lw0acU5-Ww2a9clhEQtHZljgH5p7vOGCTwU\" alt=\"\"\/><\/figure>\n\n\n\n<p>I hope after reading this blog, you will be able to Kick start Selenium with Cucumber BDD.&nbsp;<\/p>\n\n\n\n<p>Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, I will describe how to integrate Cucumber BDD with Selenium step by step and also explain a simple Test Case to Login to the website. In this article, we will cover the basics of Automation testing using Cucumber BDD with Selenium. What is Cucumber? Cucumber is a tool that supports Behavior Driven &hellip; <a href=\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Automation testing using Cucumber BDD with Selenium&#8221;<\/span><\/a><\/p>\n","protected":false},"author":37,"featured_media":5636,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[54,1],"tags":[],"class_list":["post-5635","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-testing","category-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automation testing using Cucumber BDD with Selenium - Mobile App Development Services<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automation testing using Cucumber BDD with Selenium - Mobile App Development Services\" \/>\n<meta property=\"og:description\" content=\"In this blog, I will describe how to integrate Cucumber BDD with Selenium step by step and also explain a simple Test Case to Login to the website. In this article, we will cover the basics of Automation testing using Cucumber BDD with Selenium. What is Cucumber? Cucumber is a tool that supports Behavior Driven &hellip; Continue reading &quot;Automation testing using Cucumber BDD with Selenium&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\" \/>\n<meta property=\"og:site_name\" content=\"Mobile App Development Services\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-06T10:22:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-07T11:02:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2708\" \/>\n\t<meta property=\"og:image:height\" content=\"1420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Noc Folio3\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Noc Folio3\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\"},\"author\":{\"name\":\"Noc Folio3\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb\"},\"headline\":\"Automation testing using Cucumber BDD with Selenium\",\"datePublished\":\"2022-07-06T10:22:55+00:00\",\"dateModified\":\"2022-07-07T11:02:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\"},\"wordCount\":819,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png\",\"articleSection\":[\"App Testing\",\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\",\"url\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\",\"name\":\"Automation testing using Cucumber BDD with Selenium - Mobile App Development Services\",\"isPartOf\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png\",\"datePublished\":\"2022-07-06T10:22:55+00:00\",\"dateModified\":\"2022-07-07T11:02:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage\",\"url\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png\",\"contentUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png\",\"width\":2708,\"height\":1420},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.folio3.com\/mobile\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automation testing using Cucumber BDD with Selenium\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#website\",\"url\":\"https:\/\/www.folio3.com\/mobile\/\",\"name\":\"Mobile App Development Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.folio3.com\/mobile\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\",\"name\":\"Mobile App Development Services\",\"url\":\"https:\/\/www.folio3.com\/mobile\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png\",\"contentUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png\",\"width\":210,\"height\":50,\"caption\":\"Mobile App Development Services\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb\",\"name\":\"Noc Folio3\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g\",\"caption\":\"Noc Folio3\"},\"url\":\"https:\/\/www.folio3.com\/mobile\/blog\/author\/noc\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automation testing using Cucumber BDD with Selenium - Mobile App Development Services","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/","og_locale":"en_US","og_type":"article","og_title":"Automation testing using Cucumber BDD with Selenium - Mobile App Development Services","og_description":"In this blog, I will describe how to integrate Cucumber BDD with Selenium step by step and also explain a simple Test Case to Login to the website. In this article, we will cover the basics of Automation testing using Cucumber BDD with Selenium. What is Cucumber? Cucumber is a tool that supports Behavior Driven &hellip; Continue reading \"Automation testing using Cucumber BDD with Selenium\"","og_url":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/","og_site_name":"Mobile App Development Services","article_published_time":"2022-07-06T10:22:55+00:00","article_modified_time":"2022-07-07T11:02:47+00:00","og_image":[{"width":2708,"height":1420,"url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png","type":"image\/png"}],"author":"Noc Folio3","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Noc Folio3","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#article","isPartOf":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/"},"author":{"name":"Noc Folio3","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb"},"headline":"Automation testing using Cucumber BDD with Selenium","datePublished":"2022-07-06T10:22:55+00:00","dateModified":"2022-07-07T11:02:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/"},"wordCount":819,"commentCount":0,"publisher":{"@id":"https:\/\/www.folio3.com\/mobile\/#organization"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage"},"thumbnailUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png","articleSection":["App Testing","Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/","url":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/","name":"Automation testing using Cucumber BDD with Selenium - Mobile App Development Services","isPartOf":{"@id":"https:\/\/www.folio3.com\/mobile\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage"},"thumbnailUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png","datePublished":"2022-07-06T10:22:55+00:00","dateModified":"2022-07-07T11:02:47+00:00","breadcrumb":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#primaryimage","url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png","contentUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-06-at-3.20.16-PM.png","width":2708,"height":1420},{"@type":"BreadcrumbList","@id":"https:\/\/www.folio3.com\/mobile\/blog\/automation-testing-using-cucumber-bdd-with-selenium\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.folio3.com\/mobile\/"},{"@type":"ListItem","position":2,"name":"Automation testing using Cucumber BDD with Selenium"}]},{"@type":"WebSite","@id":"https:\/\/www.folio3.com\/mobile\/#website","url":"https:\/\/www.folio3.com\/mobile\/","name":"Mobile App Development Services","description":"","publisher":{"@id":"https:\/\/www.folio3.com\/mobile\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.folio3.com\/mobile\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.folio3.com\/mobile\/#organization","name":"Mobile App Development Services","url":"https:\/\/www.folio3.com\/mobile\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/","url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png","contentUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png","width":210,"height":50,"caption":"Mobile App Development Services"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb","name":"Noc Folio3","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g","caption":"Noc Folio3"},"url":"https:\/\/www.folio3.com\/mobile\/blog\/author\/noc\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5635"}],"collection":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/comments?post=5635"}],"version-history":[{"count":1,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5635\/revisions"}],"predecessor-version":[{"id":5637,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5635\/revisions\/5637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/media\/5636"}],"wp:attachment":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/media?parent=5635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/categories?post=5635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/tags?post=5635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}