Question: how to extract data from excel in selenium?
Answer: Create an xlsx file and save it at particular location. Enter some data to read using Selenium. Close the created excel file before executing the script. ...  Go to option “Format Cells” and under Number Tab option, select Text and click on OK. By default it will be general, you need to make it as Number.