Excel data source location respective to project

paolabspaolabs Posts: 10

How do I have to set the path for an excel file that I use as a data source so that it is always respective to the project? I have been using it in my desktop while I was trying to figure out how to work with it, but now that I am planning on checking my code in, I would like to configure it so that anyone that works on this can also retrieve the file.



  • Ireneusz SzmigielIreneusz Szmigiel Posts: 123 ✭✭

    Hi paolabs

    did you try to check documentation for best practices?

    Ireneusz Szmigiel

  • paolabspaolabs Posts: 10

    I did try searching but I find it complicated and sometimes it seems I lack the right terminology to search correctly.

  • jakubiakjakubiak Posts: 247 ✭✭✭

    The solution is simple. :) You simply need to make sure that your excel file lives within the workspace. Then when you configure your data source to use it, SOAtest will automatically create a path that is relative to the project where the excel file is located - you will see something like "${project_loc:MyEclipseProject}/MyExcelFile.xlsx" in the File Path field.

  • paolabspaolabs Posts: 10

    When you say that it lives within the workspace, does that mean that it is in the same folder?

  • paolabspaolabs Posts: 10

    I am a real newbie with SOATest

  • jakubiakjakubiak Posts: 247 ✭✭✭

    In SOAtest, you can switch to the Navigator view (next to the Test Case Explorer if you did not rearrange your perspective). You can use that view to paste the file where you want it - if you can see the file in that view then it is in your workspace.

  • paolabspaolabs Posts: 10

    I figured it out when you mentioned living in the workspace, thank you so much! I can't figure out how to mark as answered, is there a way?

Sign In or Register to comment.