How to save Excel sheet in Eclipse and pick data from it

I am using Data Driven framework for my Selenium project.
For this my excel sheets are saved in local drive and I am picking data from it and then writing them in my application.

Now what I want to do is save the same excel sheets in eclipse and then call the data from its cells and then write them into my application.

Is that possible?
If YES please suggest me with some examples so that I can proceed

Train Asked on November 21, 2014 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    Hi
    Create a Folder in Your Project and Put Your Excel File In that Folder
    and Give File Path LikeĀ  File Excel=new File(“./foldername/filename”);

    Vice Professor Answered on November 21, 2014.
    Add Comment
  • Your Answer

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