title: How do I run specific scenario in cucumber
body: <p>How to run specific scenario in cucumber out of multiple scenario?</p>
  <p><strong>Feature file</strong></p>
  <pre><code>Feature: Test Test Smoke scenario
  
    Scenario: Test login with valid credentials
      Given open firefox and start application
  </code></pre>
  <p>jhbhhjhj
  When I click on Login
  And enter valid &quot;kumar.rakesh@yopmail.com&quot; and valid &quot;admin@123&quot;
  Then Click on login and User should be able to login successfully</p>
  <pre><code>  Scenario: Test shop for cart
      Given Click on shop for carts
      And select plates
      When Click on Add to cart
      Then product should be added in the cart successfully
      And verify the product
      
  Scenario: Test login with valid credentials1
      Given open firefox and start application
      When I click on Login
      And enter valid &quot;kumar.rakesh@yopmail.com&quot; and valid &quot;admin@123&quot;
      Then Click on login and User should be able to login successfully
  
    Scenario: Test shop for cart1
      Given Click on shop for carts
      And select plates
      When Click on Add to cart
      Then product should be added in the cart successfully
      And verify the product
  </code></pre>
  <p><strong>Test Runner</strong></p>
  <pre><code>package runner;
  
  import org.junit.runner.RunWith;
  
  import cucumber.api.junit.Cucumber;
  
  @RunWith(Cucumber.class)
  @Cucumber.Options(features=&quot;features&quot;,glue={&quot;steps&quot;},format = {&quot;pretty&quot;, &quot;html:target/Destination&quot;})
  
  public class TestRunnr {
  
  }
  </code></pre>