RE: Error in Data Driven Framework
I am working on Data Driven Framework example shown in Selenium WebDriver Tutorials in www.toolsqa.com website. When I run Apache_POI_TC.java file, I am getting the following error:
Exception in thread “main” java.io.FileNotFoundException: C:\Users\ABK\Desktop\Sama\Eclipse\OnlineStore\src\testData (Access is denied)
Appreciate if anyone could help me out with this error.
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.