Page 1 of 1

Sharing Recording Scripts Between Computers

Posted: Mon Feb 22, 2016 2:34 pm
by Ali1874
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.

Re: Sharing Recording Scripts Between Computers

Posted: Tue Feb 23, 2016 8:59 am
by odklizec
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.