Hello,
I wanted a solution where I create many projects with one recording and build .exe for each one of them.
But there is my problem, I don't have any .rxtst whenever I create a project so the .exe does nothing.
Projects are console applications
Am I doing something wrong ?
I'm open for better ideas if you have any.
Thank you
I am using Ranorex 6.0.0
No .rxtst file when creating a project
Re: No .rxtst file when creating a project
Hi,
Ranorex 6.0 is pretty old and no longer supported. I would suggest to get the most recent 8.2.1.
Anyway, are you sure you selected a correct template while creating solution? Please check this post:
viewtopic.php?f=4&t=11851&p=47640#p47544
Ranorex 6.0 is pretty old and no longer supported. I would suggest to get the most recent 8.2.1.
Anyway, are you sure you selected a correct template while creating solution? Please check this post:
viewtopic.php?f=4&t=11851&p=47640#p47544
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: No .rxtst file when creating a project
Licence ran out sadly but I'm trying to get a new one.
I might have misunderstood how to correctly use Ranorex.
What I wanted was to:
- Create a solution
- Create a console application project for each test
- Add a Recording in each project
- Build .exe
- Run independantly
Is there a smarter way to do this ?
I might have misunderstood how to correctly use Ranorex.
What I wanted was to:
- Create a solution
- Create a console application project for each test
- Add a Recording in each project
- Build .exe
- Run independantly
Is there a smarter way to do this ?
Re: No .rxtst file when creating a project
Hi,
I don't see a reason why to create a project, with just one recording and then create multiple projects. Additionally, multiple rxtst files per project are supported from Ranorex 8.2, so it's not doable with your current version.
What you can do is to create just one project, with one test suite, which can contain multiple test cases. If you wish, one test case can contain just one recording, but I would advise against creating one big recording. It's better to create a nicely structured test cases with multiple reusable recordings (e.g. one for running AUT, another for login, next for clicking a button, yet another for validating something). This is what the Test Case are for. They are just containers for multiple test steps performed by recordings or code modules. Creating one big recording means, that it's usable just for one particular test. Splitting it to multiple reusable chunks is a key for test automation success.
Then you can call the exe with test case name called from command line parameter. Or you can create a Run Configuration, which may contain multiple selected test cases. You can call the run configuration from command line as well. So basically, you will have just one exe, but you can instruct it to run a specific test case or multiple test cases (via Run Configuration).
Here you can learn how to create Run Configurations:
https://www.ranorex.com/help/latest/ran ... igurations
And here how to run tests from command line:
https://www.ranorex.com/help/latest/ran ... earguments
I don't see a reason why to create a project, with just one recording and then create multiple projects. Additionally, multiple rxtst files per project are supported from Ranorex 8.2, so it's not doable with your current version.
What you can do is to create just one project, with one test suite, which can contain multiple test cases. If you wish, one test case can contain just one recording, but I would advise against creating one big recording. It's better to create a nicely structured test cases with multiple reusable recordings (e.g. one for running AUT, another for login, next for clicking a button, yet another for validating something). This is what the Test Case are for. They are just containers for multiple test steps performed by recordings or code modules. Creating one big recording means, that it's usable just for one particular test. Splitting it to multiple reusable chunks is a key for test automation success.
Then you can call the exe with test case name called from command line parameter. Or you can create a Run Configuration, which may contain multiple selected test cases. You can call the run configuration from command line as well. So basically, you will have just one exe, but you can instruct it to run a specific test case or multiple test cases (via Run Configuration).
Here you can learn how to create Run Configurations:
https://www.ranorex.com/help/latest/ran ... igurations
And here how to run tests from command line:
https://www.ranorex.com/help/latest/ran ... earguments
Last edited by odklizec on Thu Sep 27, 2018 1:56 pm, edited 1 time in total.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: No .rxtst file when creating a project
Thank you for the great ideas, i'll look into it !
Though the links you send lead to Ranorex home page
Though the links you send lead to Ranorex home page
Re: No .rxtst file when creating a project
Links fixed
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration