Unable to open excel file
we are trying to use excel as a test data file, but we are getting file not found error while trying to open/access the file through java code. however, the file is available in the directory and the same code is working in soapUI (Groovy script), we have copied all the required jar files in the java bin and lib directories, still getting same error in selenium (java). please find the system details below
Selenium Web driver
Any help be appreciated
What does you maven POM file look like? Jars should be automatically downloaded and imported into the run time environment during a maven build. If you're not using maven, then you probably want to. It makes managing dependencies much easier in the Java world.
Originally Posted by deepakdinio
You can first call exists() to see if the file actually exists. You can also print out the full path using getAbsolutePath(). Just step through the code using a debugger, put a break point and run the expression.
If you are struggling with this basic concept, then you probably should not be working on this code.
Last edited by igglue; 02-03-2014 at 04:27 AM.
Are you using eclipse? If yes, as you said, you have copied the jars, does it mean you have added it under library -> external jars option?