Feature request: Executable tests without Ranorex : Bug Reports

Feature request: Executable tests without Ranorex

Bug reports and feature requests.

Feature request: Executable tests without Ranorex

Postby artur_gadomski » Tue Feb 15, 2011 11:50 am

Would it be possible to enable test executables to be run on a machine without Ranorex installation, by including Ranorex libraries with executable and hard coding information about floating licence server into test code/test configuration?

We have a couple of installation scripts written and it would be useful if we could execute them on any machine in house, but to do that we would need to install and configure Ranorex on each machine. If we could include Ranorex libraries and information about Ranorex licence server, we could easily move this scripts to different machines and run them locally without worrying about whether or not Ranorex installation is present.

This would of course only work with floating licences and would make them more appealing.
User avatar
artur_gadomski
 
Posts: 125
Joined: Mon Jul 19, 2010 7:55 am
Location: Copenhagen, Denmark

Re: Feature request: Executable tests without Ranorex

Postby Support Team » Tue Feb 15, 2011 7:07 pm

Hi,

This feature already exists in Ranorex, but it is not documented yet. Just copy all Ranorex DLL's from the "Program Files\Ranorex*\bin" to your output folder. Now copy a valid floating license to your output folder. The package to run the Ranorex executable is complete now. It should look like following:

  • Ranorex2_Server.lic
  • A lot of dlls :D
  • test.exe
Please check if the prerequisites are installed on the machine where you want to execute Ranorex without a runtime installed. Therefore take a look to following documentation http://www.ranorex.com/support/user-gui ... ments.html

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4842
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Feature request: Executable tests without Ranorex

Postby artur_gadomski » Wed Feb 16, 2011 9:46 am

Where can i find this licence file? Should it be on my workstation on licence server?
User avatar
artur_gadomski
 
Posts: 125
Joined: Mon Jul 19, 2010 7:55 am
Location: Copenhagen, Denmark

Re: Feature request: Executable tests without Ranorex

Postby Support Team » Wed Feb 16, 2011 9:51 am

Hi,

You can find the license file on a registered machine which uses the floating license server. You will find the file under following location.
Windows XP:
C:\Documents and Settings\All Users\Application Data
Windows 7:
C:\Users\All Users

This folder are default hidden, so please enable the option "Show Hidden File and Folders" in Windows Explorer.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4842
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Feature request: Executable tests without Ranorex

Postby artur_gadomski » Wed Feb 16, 2011 10:24 am

Found it :D
Windows 7:
C:\Program Data
User avatar
artur_gadomski
 
Posts: 125
Joined: Mon Jul 19, 2010 7:55 am
Location: Copenhagen, Denmark

Re: Feature request: Executable tests without Ranorex

Postby sdaly » Mon Jul 18, 2011 9:21 am

Hi

I have Ranorex3_Server in my output folder but I get the Ranorex Evaluation prompt unless I move the file to app data.... I thought Ranorex picks this up or do I need to copy to the relevant app data location?

Thanks
User avatar
sdaly
 
Posts: 213
Joined: Mon May 10, 2010 12:04 pm
Location: Dundee, Scotland

Re: Feature request: Executable tests without Ranorex

Postby Support Team » Wed Jul 20, 2011 1:05 pm

Hi Scott,

if you put all Ranorex DLL's and the Ranorex3_Server.lic into one folder, then Ranorex should use the License Server from the license key.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4842
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Feature request: Executable tests without Ranorex

Postby sdaly » Fri Jul 22, 2011 6:46 pm

Hi Peter

That is what I did but I kept getting the evaluation dialog unless I moved the license into the appdata location. Maybe it could be something to do with running through NUnit, maybe different working working directories or something! I have it working anyway by moving the license...
User avatar
sdaly
 
Posts: 213
Joined: Mon May 10, 2010 12:04 pm
Location: Dundee, Scotland

Re: Feature request: Executable tests without Ranorex

Postby Support Team » Mon Jul 25, 2011 12:45 pm

Hi Scott,

That's strange I tried it too but without NUnit and it worked. Did you try to run the script without NUnit?

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4842
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Feature request: Executable tests without Ranorex

Postby andagongs » Tue Aug 09, 2011 4:34 pm

Even if this thread is very old, i had the same problem today: Ranorex "portable" package running well, fetching the license from within the folder. But using NUnit the license was not found.

Solution is, to disable NUnit ShadowCopy, otherwise it will copy your DLLs in a Temp folder, and run them there. Here something goes wrong and the license cannot be found.

Open NUnit, goto Tools -> Settings, In Settings, select Advanced and Check Disable Shadow Copy
Guido,
andagon GmbH
www.andagon.com
User avatar
andagongs
 
Posts: 3
Joined: Tue Aug 09, 2011 4:24 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests