title: How to get data from xlsx sheet using dataprovider in selenium TestNG?
body: <p>Can someone give me the logic of how to retrieve data from an Excel sheet (latest Excel file format) using the data provider in Selenium?</p>
  
  <p>I'm mostly looking for the for loop logic inside the data provider.</p>