Opening display for ranorex on a remote machine. : General Questions

Opening display for ranorex on a remote machine.

Ask general questions here.

Opening display for ranorex on a remote machine.

Postby artur_gadomski » Fri Sep 23, 2011 9:03 am

Hi
Anybody has any idea if this is possible:
using a script start a hyper-v virtual machine (I know I can do that)
apply a snapshot on this machine ( I know I can do that)
run ranorex test (?)

so far i've been trying to use powershell for starting the machine and applying snapshots but I run into problems when I try to start a ranorex test from command line, I'm guessing I need a display for ranorex to work on. Any ideas?
User avatar
artur_gadomski
 
Posts: 125
Joined: Mon Jul 19, 2010 7:55 am
Location: Copenhagen, Denmark

Re: Opening display for ranorex on a remote machine.

Postby Ciege » Fri Sep 23, 2011 5:13 pm

There does need to be a desktop (unlocked) available for Ranorex to run... This is a GUI functional test after all.

You can use PSEXEC to remotely launch an application, assuming you have proper credentials.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...
User avatar
Ciege
 
Posts: 965
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Opening display for ranorex on a remote machine.

Postby artur_gadomski » Mon Sep 26, 2011 11:54 am

I know it needs a desktop, that's why I have a problem.
For now I managed to set up windows to automaticaly log in as a default user and have a ranorex test run as a scheduled task after logging in.
I'll play around with pexec maybe I can start the machine and then use psexec to execute my test on it.
User avatar
artur_gadomski
 
Posts: 125
Joined: Mon Jul 19, 2010 7:55 am
Location: Copenhagen, Denmark


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests