Ranorex Studio Version 5.0.1
I have a suite of test cases, with recording modules within those test cases. I want to run some but not all of the test cases and have unchecked the test cases I don't want to run, in the test suite. However, when I run the test suite, the unchecked test cases run every time.
Why is that and what can I do to fix it?
Thanks!
Issue with un-checking Test Cases in Test Suite
Re: Issue with un-checking Test Cases in Test Suite
Are you using a version control system? If so, which one?
Could your files (especially the *.rxtst file) be set as READ-ONLY?
Are you re-compiling after the change?
Have you tried other test suites or solutions? Do they do the same thing?
Could you post the solution in question or send it to [email protected]? If not, can you create a sample solution that shows the same issues and post/send it instead?
Could your files (especially the *.rxtst file) be set as READ-ONLY?
Are you re-compiling after the change?
Have you tried other test suites or solutions? Do they do the same thing?
Could you post the solution in question or send it to [email protected]? If not, can you create a sample solution that shows the same issues and post/send it instead?
Shortcuts usually aren't...
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
Thanks for your reply krstcs.
Thanks again!
No version control is being used.Are you using a version control system? If so, which one?
I didn't purposely change any of the file permissions. How can I check that in Ranorex?Could your files (especially the *.rxtst file) be set as READ-ONLY?
Sorry, but I'm not sure that I understand that question? The test cases are not checked and they are still running, I'm not making changes to the recordings prior to running them.Are you re-compiling after the change?
Other test suites are running fine and this is not an issue on them.Have you tried other test suites or solutions? Do they do the same thing?
Thanks again!
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
Hello Fergal,
Can you please make sure that you are running the correct "Run Configurations".
If this will not help please upgrade Ranorex to our current version (5.0.3) and try to run your test suite again.
Regards,
Bernhard
Can you please make sure that you are running the correct "Run Configurations".
In order to rebuild the solution just save all files and navigate to "Build" in Rarnoex Studio and click on "Rebuild Solution" as shown in the image below.Are you re-compiling after the change?
Sorry, but I'm not sure that I understand that question? The test cases are not checked and they are still running, I'm not making changes to the recordings prior to running them.
If this will not help please upgrade Ranorex to our current version (5.0.3) and try to run your test suite again.
Regards,
Bernhard
You do not have the required permissions to view the files attached to this post.
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
Thanks for your help Support Team, I have tried all of the above but none of it seems to work. I have a few test suites, when I un-check test cases in most of those suites, those tests don't run. However, with this one test suite, un-checking test cases appears to have no effect and the un-checked test cases still run?
Thanks again!
Thanks again!
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
I've deleted a test case from the test suite, so the test case or its modules no longer appear in the File View of that test suite. The modules from the deleted test case still appear in the Ranorex Module Browser, but not in the file view.
Yet, when I run the test suite, by clicking the Green Run arrow, the deleted test case is running. It's as if the test suite which is running, is different to the test suite displayed in the File View. Is that possible?
Thanks!
Yet, when I run the test suite, by clicking the Green Run arrow, the deleted test case is running. It's as if the test suite which is running, is different to the test suite displayed in the File View. Is that possible?
Thanks!
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
Hello Fergal,
That sounds strange. Can you please uninstall Ranroex completely from your computer, restart the computer and install the current version of Ranorex?
Regards,
Bernhard
That sounds strange. Can you please uninstall Ranroex completely from your computer, restart the computer and install the current version of Ranorex?
Regards,
Bernhard
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
Thanks for your reply Bernhard.
I upgraded to the latest version of Ranorex today, would it still help to uninstall and re-install?
Shortly before the problem arose, I renamed the Test Suite. Is it possible that this somehow caused the problem?
Thanks again!
I upgraded to the latest version of Ranorex today, would it still help to uninstall and re-install?
Shortly before the problem arose, I renamed the Test Suite. Is it possible that this somehow caused the problem?
Thanks again!
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
The test suite with this issue, has a file extension of ".rsln". My other test suites, which are running fine, are not showing that extension. Could the problem be related to that?
Re: Issue with un-checking Test Cases in Test Suite
Hi Fergal,
the solution should have 3 files in their root directory:
- solutionname.rxsln
- solutionname.sln
- solutionname_VS2010.sln
So, yes it could cause the problem
just rename the .rsln to .rxsln
Best Regards,
Zoltan
the solution should have 3 files in their root directory:
- solutionname.rxsln
- solutionname.sln
- solutionname_VS2010.sln
So, yes it could cause the problem

Best Regards,
Zoltan
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
Thanks very much Zolton. I've made some changes in the folder and the project folder now looks like the image at this link.
Unfortunately I still have the issue of the Test Suite, running Test Cases that are not shown in the Test Suite?
Thanks!
Unfortunately I still have the issue of the Test Suite, running Test Cases that are not shown in the Test Suite?
Thanks!
Re: Issue with un-checking Test Cases in Test Suite
Hi Fergal,
Do you have other projects imported into this test suite?
Does those imported project have their own test suites?
Do you want to run one of those test suites?
If there are severat test suites in the same solution, then by pressing F5, only the starting project's test suite will be run.
You can set the starting project by right clicking on it and selecting "set up as starting project".
Last resort suggestions:
Did you try to migrate your solution to a new one?
Do you have version controlled (very advisable) or a backup of the project before you did the rename thing? Try to roll back to the state when the solution worked, and do the changes step-by-step.
Best Regards,
Zoltan
Do you have other projects imported into this test suite?
Does those imported project have their own test suites?
Do you want to run one of those test suites?
If there are severat test suites in the same solution, then by pressing F5, only the starting project's test suite will be run.
You can set the starting project by right clicking on it and selecting "set up as starting project".
Last resort suggestions:
Did you try to migrate your solution to a new one?
Do you have version controlled (very advisable) or a backup of the project before you did the rename thing? Try to roll back to the state when the solution worked, and do the changes step-by-step.
Best Regards,
Zoltan
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Issue with un-checking Test Cases in Test Suite
Thanks again for your help Zoltan. I only have one single project in the test suite.

Thanks again!
That gave me an idea, I reversed the rename and changed the name of the project folders to what they were originally. The test suite runs as it should now. In future I will avoid changing the name of any projectsmzperix wrote:...Do you have version controlled (very advisable) or a backup of the project before you did the rename thing? ...

Thanks again!