title: How to read an excel and fetch multiple values and concatenate them using data-provider in selenium web driver and testNG
body: <p>I want to read an excel and fetch 10 records at a time and concatenate them too using data-provider in selenium web driver and testNG. For example, Excel sheet having two columns i.e, col 1, col 2 and 10 rows. Now I want to pass the fetched result from an excel as value into the text-box using selenium web-driver i.e, "A,B,C,D,E,F,G,H,J,I," as value. Here, row1 col1 contains "A" and row 1 col 2 contains "," . Similarly, it is like this for rest of the rows and cols. Can you please provide me the code for this logic.     </p>