Ranorex

Running a test binary on a different m/c without Studio

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexStudio
View previous topic :: View next topic  
Author Message
andylee



Joined: 19 Aug 2008
Posts: 4

PostPosted: Wed Aug 20, 2008 12:04 pm    Post subject: Running a test binary on a different m/c without Studio
Hi

Is it possible I can run a test binary on a different machine without an installation of Ranorex Studio?

I'm getting the following error if try running my test application:

YSystem.IO.FileLoadException: Could not load file or assembly 'RanorexSpy, Versi
on=1.5.0.3287, Culture=neutral, PublicKeyToken=e8101b43073a3fe1' or one of its d
ependencies. This application has failed to start because the application config
uration is incorrect. Reinstalling the application may fix this problem. (Except
ion from HRESULT: 0x800736B1)
File name: 'RanorexSpy, Version=1.5.0.3287, Culture=neutral, PublicKeyToken=e810
1b43073a3fe1' ---> System.Runtime.InteropServices.COMException (0x800736B1): Thi
s application has failed to start because the application configuration is incor
rect. Reinstalling the application may fix this problem. (Exception from HRESULT
: 0x800736B1)



Cheers,
Andy
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 435

PostPosted: Wed Aug 20, 2008 4:08 pm    Post subject:
Hi Andy,

To run Ranorex based automation binaries on another machine you have to install at least the Ranorex core components on that machine. In fact, you can uncheck Ranorex Studio during the setup process, to avoid the installation of Ranorex Studio.

Christoph

Ranorex Support Team
Back to top
View user's profile Send private message Visit poster's website
claudio.souza



Joined: 07 Nov 2008
Posts: 6

PostPosted: Mon Nov 24, 2008 1:16 pm    Post subject: same error message but same machine
Support Team wrote:
Hi Andy,

To run Ranorex based automation binaries on another machine you have to install at least the Ranorex core components on that machine. In fact, you can uncheck Ranorex Studio during the setup process, to avoid the installation of Ranorex Studio.

Christoph

Ranorex Support Team


Im getting the same message error, but im at the same machine, just another folder. I also copied RanorexCore.dll and RanorexNet.dll to the folder without sucess... My application is a VB.NET converted from C# at Ranorex Studio.

Any idea ?
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 435

PostPosted: Mon Nov 24, 2008 3:19 pm    Post subject:
As pointed out in the Ranorex 1.5 documentation, you need three DLLs in the working directory of your Ranorex application when you use any of the .NET languages:
RanorexCore.dll, RanorexNet.dll, and RanorexSpy.dll.

When you use classes from the Ranorex.Web namespace, you additionally need to copy Microsoft.mshtml.dll and SHDocVw.dll to the output directory.

You can do this simplify the copying by adding the files to your Ranorex Studio or Visual Studio project and specify the "Copy to output directory" property.

Regards,
Alex
Ranorex Support Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexStudio All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum