This is a migrated thread and some comments may be shown as answers.

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

5 Answers 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rory
Top achievements
Rank 1
Rory asked on 16 Apr 2016, 07:28 AM

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?

5 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 20 Apr 2016, 11:31 AM
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
 
0
Rory
Top achievements
Rank 1
answered on 20 Apr 2016, 09:30 PM

Boyan -

Thank you, this appears to have worked!

-Rory

0
Boyan Boev
Telerik team
answered on 21 Apr 2016, 08:21 AM
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
 
0
Catalin
Top achievements
Rank 1
answered on 10 Mar 2019, 08:09 PM

Hi,

I'm using a PC with Test Studio installed and I'm trying to run a Test List on a server with Run-Time installed.
I'm having the same issue. Every time I'm trying to run a test list remotely I'm getting the "There is no data to execute the test with" message.

Regards,
Catalin


0
Daniel Djambov
Telerik team
answered on 13 Mar 2019, 02:23 PM
Hi,

The problem is caused by missing MS Access OleDB Data provider on the remote machine, which is needed to work with excel files.

Please install the 32 bit version of this free MS distributable (not x64 version, as it will not work with Test Studio) on the machine you want to use for executing excel data driven tests. It should not conflict with any existing MS Office installations and could be installed in parallel to them.

Best Regards,
Daniel Djambov
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Rory
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Rory
Top achievements
Rank 1
Catalin
Top achievements
Rank 1
Daniel Djambov
Telerik team
Share this question
or