Hi there,
Is it possible to easily share recording/test modules between different computers? Will these require any specific setup?
If both machines had integrated the Flex Application the same way, would it be as simple as importing the Test/Recording modules into that machine's version of Ranorex and running it?
Thanks.
Sharing Recording Scripts Between Computers
Re: Sharing Recording Scripts Between Computers
Hi,
It all depends on how good and stable are your recordings/tests, mainly the xpaths behind the individual elements used in recordings. If your tests are created mainly by recording, without proper post-recording repository/recording cleanup, there is a good chance your tests will fail once started on another computer.
In addition, it's a good idea to install Ranorex on every machine, where you want to run your tests. This should assure there are installed all necessary libraries (.Net, VC runtime libs, etc...) required by Ranorex.
After that, you should copy RanorexConfig5.xml from your main dev. machine (were you developed all your tests) and place it on every machine where you want to run your tests. This should assure all Ranorex instances use the same configuration. Check this post about where to find RanorexConfig.xml...
http://www.ranorex.com/forum/control-no ... tml#p36138
Now you just have to copy the test solution to your target machines (ideally using source control tool), then you need to build the test (either via Ranorex or msbuild) and finally, you can run it.
It all depends on how good and stable are your recordings/tests, mainly the xpaths behind the individual elements used in recordings. If your tests are created mainly by recording, without proper post-recording repository/recording cleanup, there is a good chance your tests will fail once started on another computer.
In addition, it's a good idea to install Ranorex on every machine, where you want to run your tests. This should assure there are installed all necessary libraries (.Net, VC runtime libs, etc...) required by Ranorex.
After that, you should copy RanorexConfig5.xml from your main dev. machine (were you developed all your tests) and place it on every machine where you want to run your tests. This should assure all Ranorex instances use the same configuration. Check this post about where to find RanorexConfig.xml...
http://www.ranorex.com/forum/control-no ... tml#p36138
Now you just have to copy the test solution to your target machines (ideally using source control tool), then you need to build the test (either via Ranorex or msbuild) and finally, you can run it.
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