title: Cucumber : How to read examples from external excel file for Scenarios Outline
body: <p>My requirement is to read examples from external excel file rather than hard code it into feature file. I have more than 100 examples which is difficult to maintain in feature file. Can you please help me on this.</p>
  
  <p>Here is my scenario -</p>
  
  <pre><code>Scenario Outline: Browser Test
  
      When I visit the URL &lt;base&gt;/&lt;page&gt;/&lt;ordNumber&gt;/&lt;custName&gt;
      Then the browser contains test &lt;custNumber&gt;
  
      Examples: 
       | base                         | page   | ordNumber | custName |
       | http://www.stackoverflow.com | orders | 123       | John     |
       | http://www.stackoverflow.com | orders | 456       | Mike     |
       | http://www.stackoverflow.com | orders | 789       | Tom      |
  </code></pre>
  
  <p>I want to create an excel file with examples data and load it during runtime </p>
  
  <p><strong>examples.xls</strong></p>
  
  <pre><code> | base                         | page   | ordNumber | custName |
   | http://www.stackoverflow.com | orders | 123       | John     |
   | http://www.stackoverflow.com | orders | 456       | Mike     |
   | http://www.stackoverflow.com | orders | 789       | Tom      |
  </code></pre>
  
  <p>Thanks.</p>