title: How to run the Protractor Spec for multiple times based on excel values
body: <p>I am new to Protractor. I have the test data stored in excel in multiple rows. I would like to run the same spec multiple times for each row in excel. Is it possible?</p>
  
  <pre><code>exports.config = {
  
  
      seleniumAddress: 'http://localhost:4444/wd/hub',
  
      baseUrl: 'https:somewebsite.com',
  
      capabilities: {
  
          'browserName': (process.env.TEST_BROWSER_NAME || workbook.Sheets[sheetNamelist[sheetNumber]]['N2'].v)
          , 'version': (process.env.TEST_BROWSER_VERSION || 'ANY')
          , 'shardTestFiles': false
      , },
      onPrepare: function () {
          browser.ignoreSynchronization = true;
      },
  
      framework: 'custom'
      , frameworkPath: require.resolve('protractor-cucumber-framework'),
  
      specs: [
      '../Features/Availity_Login.feature'
    ]
      , exclude: '../Features/database.feature'
      , cucumberOpts: {
  
          monochrome: true
          , strict: true
          , plugin: ["pretty"]
          , require: ['../StepDefinitions/*.js', '../Support/*.js']
          , tags: '@AllureScenario,@Regression,@ProtractorScenario,~@DatabaseTest' // @DatabaseTest scenario can be included when the username &amp; password of DB have been configured in Support/database.js
  
      }
  
  
  };
  </code></pre>
  
  <p>in the above script i would like to run the specs for more than once as I have multiple test data in my excel. I am able to read the excel values using the module 'xlsjs'. Looping through the spec will run the spec only for first time.</p>