Hello,
If I stop my execution in debug mode, I have to re-point test case to the data sheet before I execute the tests again. Basically, test suite is losing data source information and I have to point the data sheet again.
I observed this behaviour in Ranorex 4.1.
Thanks,
Suraj
Test suites are keep losing datasource information
-
- Posts: 29
- Joined: Sat Feb 25, 2012 12:10 am
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Test suites are keep losing datasource information
Hello,
Unfortunately, I couldn't reproduce your issue.
Could you please provide more information about your issue?
Do you include your data source into your solution?
How did you stop your test execution?
Could you please provide a step-by-step description in order to reproduce your issue?
It would be good if you could post a few screenshots.
Thank you in advance.
Regards,
Markus (T)
Unfortunately, I couldn't reproduce your issue.
Could you please provide more information about your issue?
Do you include your data source into your solution?
How did you stop your test execution?
Could you please provide a step-by-step description in order to reproduce your issue?
It would be good if you could post a few screenshots.
Thank you in advance.
Regards,
Markus (T)
-
- Posts: 29
- Joined: Sat Feb 25, 2012 12:10 am
Re: Test suites are keep losing datasource information
Yes. We include the data sheet into solution. It is happening when I stop using Break key or stop button in Ranorex solution.
What I usually do is right click on specific Ranorex test and chose 'Run Project' which doesn't give any issues for the first time and I stop the test. When I try running again the test fails with the error message
Failed to get rows from data source: Could not find file '<solution folder>\<test folder>\bin\Debug\testdata.xlsx'.
If I see the difference between the project file before and after failures, I can see that the following statements are missing in the later.
Thanks,
Suraj
What I usually do is right click on specific Ranorex test and chose 'Run Project' which doesn't give any issues for the first time and I stop the test. When I try running again the test fails with the error message
Failed to get rows from data source: Could not find file '<solution folder>\<test folder>\bin\Debug\testdata.xlsx'.
If I see the difference between the project file before and after failures, I can see that the following statements are missing in the later.
Code: Select all
<Content Include="Spp_Transactions.xlsx">
<BoundTo>db7f3deb-40c0-4149-86cf-5916ad1d5035</BoundTo>
<DependentUpon>Spp_Transactions.rxtst</DependentUpon>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<id>0bbad35e-635f-4cfc-b7c7-bd60f5079447</id>
</Content>
Suraj
Support Team wrote:Hello,
Unfortunately, I couldn't reproduce your issue.
Could you please provide more information about your issue?
Do you include your data source into your solution?
How did you stop your test execution?
Could you please provide a step-by-step description in order to reproduce your issue?
It would be good if you could post a few screenshots.
Thank you in advance.
Regards,
Markus (T)
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Test suites are keep losing datasource information
Hello,
Do you use an additional data source 'testdata.xslx' in your solution?
Please expand the + sign besides your <TestSuite>.rxtst in order to verify the data sources.
Is your data source located in your <test folder>?
Could you please describe all your steps in detail?
Are you working in a team using any source control tool?
Regards,
Markus (T)
Do you use an additional data source 'testdata.xslx' in your solution?
Please expand the + sign besides your <TestSuite>.rxtst in order to verify the data sources.
Is your data source located in your <test folder>?
Could you please describe all your steps in detail?
Are you working in a team using any source control tool?
Regards,
Markus (T)
-
- Posts: 29
- Joined: Sat Feb 25, 2012 12:10 am
Re: Test suites are keep losing datasource information
Sorry for the delay in responding. I didn't see this issue with Ranorex 4.1.1.
Thanks,
Suraj
Thanks,
Suraj
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Test suites are keep losing datasource information
Hello,
Thank you for the good news
Regards,
Markus (T)
Thank you for the good news
Regards,
Markus (T)