"There is no data to execute the test with" when using ArtOfTest.Runner.exe

4 posts, 0 answers
  1. Rory
    Rory avatar
    16 posts
    Member since:
    Jun 2011

    Posted 16 Apr Link to this post

    Greetings,

    We have some data driven tests which run off an Excel spreadsheet. In Test Studio Ultimate these test run great. When we try to run the test using the ArtOfTest.Runner.exe test runner, we get a passing result though no tests are run. The log reports: "There is no data to execute the test with".

    I'm running the test with the current working directory set to the same directory the *.tstest files are in. I've tried both setting the "root" and "settings" command line options of the test runner, as well as not setting them. I've copied the *.xlsx files from the Data directory to the directory the tests are in and run from. I've used both relative paths and absolute paths for the "test", "root" and "settings" options (absolute paths crash the runner). I've removed spaces from the path so there are no spaces (the runner seems to have trouble with them). When it doesn't crash, the test run is successful with 0 out of 1 tests passing and the "There is no data to execute the test with" line in the results. There appears to be no options to set the data files on the command line.

    How can I get the command-line runner to find the data for the data driven tests?

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 20 Apr Link to this post

    Hi Rory,

    Could you please install this and give that a try?

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Rory
    Rory avatar
    16 posts
    Member since:
    Jun 2011

    Posted 20 Apr in reply to Boyan Boev Link to this post

    Boyan -

    Thank you, this appears to have worked!

    -Rory

  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 21 Apr Link to this post

    Hello Rory,

    Glad to hear that.

    If you have additional questions please let us know.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!