title: How to read data from excel(XLSX) excel Protractor?
body: <p>I am Very much new to Protractor . So can any body please help me to get the date from xlsx file to the web apps. Below is the code which I wrote. </p>
  
  <pre><code>   var testData1 = require('path/book1.xlsx');
     var a = element(by.id("Name"));
     var b = element(by.id("Description"));
     a.sendKeys(testData1[0].Name);
     b.sendKeys(testData1[0].Description); 
     browser.sleep(3000);
  </code></pre>
  
  <p>I am Getting this error`</p>
  
  <pre><code> Message:
     Failed: Invalid or unexpected token
   Stack:
     D:\Protractor\book1.xlsx:1
     (function (exports, require, module, __filename, __dirname) { PK♥♦¶
  </code></pre>
  
  <p>this if xlsx file </p>
  
  <p><a href="https://i.stack.imgur.com/8egUD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8egUD.png" alt="enter image description here"></a>
                                                                     ^`</p>