title: Overriding the Examples in the Karate Feature files with Data from Excel
body: <p>I am not java expert so need your guidance. I am new to Karate. I want to run Karate using data from Excel file. After research I am able to replace secanrio outline examples with the excel data however I am not able to call it from the karate runner file.</p>
  <p>Feature File :</p>
  <p>Code Snip -</p>
  <p>Examples:</p>
  <p>|DemandId|</p>
  <h2>@externaldata@./src/test/java/examples/TestData.xlsx@Sheet1</h2>
  <p>Code Snip-</p>
  <p>Runner Class:</p>
  <pre><code>public void testParallel() throws InvalidFormatException, IOException, InterruptedException {
      FeatureOverright.overrideFeatureFiles(&quot;./src/test/java/examples&quot;);
      String karateOutputPath = &quot;target/surefire-reports&quot;;
      KarateStats stats = CucumberRunner.parallel(getClass(), 5, karateOutputPath);
      generateReport(karateOutputPath);
  </code></pre>
  <p>When I run for the first time, the execution fails after that in the feature files examples are updated with data from the excel.</p>
  <p>Can you please suggested me how should i need to call the below function in the  runner class to override the feature file with Data from excel.</p>
  <p>FeatureOverright.overrideFeatureFiles(&quot;./src/test/java/examples&quot;);</p>