RE: Error in Data Driven Framework


I am working on Data Driven Framework example shown in Selenium WebDriver Tutorials in  website. When I run file, I am getting the following error:

Exception in thread “main” C:\Users\ABK\Desktop\Sama\Eclipse\OnlineStore\src\testData (Access is denied)

Appreciate if anyone could help me out with this error.

on November 4, 2014.
Add Comment
4 Answers


Make sure the Excel file is closed. Make sure that Excel file is not corrupted, try opening it. Make sure the location is correct, as I see the path is till testData folder, it did not display the excel file name after it, make sure you place the slash after testData folder.

Lakshay Sharma

Professor Answered on October 30, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.