Sharing Recording Scripts Between Computers

Ranorex Spy, Recorder, and Studio.
Ali1874
Posts: 2
Joined: Thu Jan 28, 2016 1:34 pm

Sharing Recording Scripts Between Computers

Post by Ali1874 » Mon Feb 22, 2016 2:34 pm

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3948
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Sharing Recording Scripts Between Computers

Post by odklizec » Tue Feb 23, 2016 8:59 am

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.
Pavel Kudrys
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