ClassNotFoundException on trying to read excel using XLS_Reader class | Selenium Forum

ClassNotFoundException on trying to read excel using XLS_Reader class | Selenium Forum

ClassNotFoundException on trying to read excel using XLS_Reader class

Observation: I am getting a ClassNotFoundException when I try to read data from the excel file using the class XLS_Reader created by you. I have added all the POI related jars.

Attached are the screenshots which will help you. Please help me get this issue fixed as this is blocking my test execution.

Please use the link below for POI jars

https://drive.google.com/file/d/1QjA7C7DhSYM5QjkF3LtrfhEjGy0fBOjc/view

On using the jars provide by you , I see many more errors. What can be the reason?

Please export the project in a compressed zip file and share it with us.

Attached is the zip file containing the project. The jars added to this project are the jars as mentioned above by you.

I can notice that your XLS_Reader is based on the latest version of POI.

I would suggest you add all the jars supplied in the zip file you downloaded including the ones found in subdirectories as well.

Please have a look in the screenshot for the list of jars you need to add for dealing with XLS_Reader.

Make sure that all 19 jars are imported.

Thank you, its working now.

We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium. All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project

© 2020 Whizdom Trainings. All rights Reserved - Powered by Whizdom Trainings

Recommended articles