How to add ExcelReaderFile.cs? | Selenium Webdriver Tutorial with c# |Selenium C# training
20% Festival Month Offer Avail now

Selenium C# Training Forum

How to add ExcelReaderFile.cs?

S
Swathi Post on 25/06/2019

Hi, I am currently watching the video part-5 in datadriven framework, it doesn't show how to get excelreaderfile.cs in references? 

 

Currently, i have added npoi dll and not sure how to add excelreader.cs.

Please advise if there is different video or code to read excel file

 

Thanks,

Swathi

G

Instructor

gunjan Reply on 25/06/2019

You will have to externally add the ExcelReaderFile.cs . It is not present in the References.

Browse to the location where you have saved your ExcelReaderFile.cs and then add it in your project.

S
Swathi Reply on 05/07/2019

Hi Gunjan,

Can you please share with me the ExcelReaderFile.cs that you have created?

Thanks

S
Swathi Reply on 05/07/2019

Though i have created my own, i have an issue with empty cell.(object reference not set to an instance)

 

A

Instructor

Ashish Reply on 15/07/2019

You can find the excel reader file in downloaded code.

G

Instructor

gunjan Reply on 16/07/2019

Please make sure that you close the excel file while running your code.

S
Swathi Reply on 17/07/2019

please close this as i have resolved the issue

 

Thanks