Can Ranorex call an application on the remote server?

Ask general questions here.
Kevin
Posts: 6
Joined: Fri Nov 05, 2010 6:11 pm

Can Ranorex call an application on the remote server?

Post by Kevin » Fri Nov 05, 2010 6:17 pm

Hello, assuming I have an winform application install on a remote server, and I install the Ranorex on my own computer. Can I use Ranorex to start this application and drive the forms automatically? Paticularly I want to get a screenshot after each running. Is that possible? Any solution for this purpose?

I really appreciate any suggestions ~~ :)

Many Thanks,

Kevin

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Can Ranorex call an application on the remote server?

Post by Ciege » Fri Nov 05, 2010 7:36 pm

Yes, sort of, not really...

First, you can use Ranorex or any development platform actually to start an application on a remote machine. Simply look up PSEXEC and how to use it.

However, Ranorex will not be able to "see" then application on the remote machine since Ranorex is local to your desktop. Here you would need to look into using some sort of RDP or VNC technology but that would require Ranorex to be installed on the remote machine.

If you can drive the application using simple batch scripting or similar you can have Ranorex run that batch on the remote machine and take snapshots of the desktop through a RDP client...

Not quite what you were looking for but ideas to help you get a clearer picture of what you want to do.
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...

Kevin
Posts: 6
Joined: Fri Nov 05, 2010 6:11 pm

Re: Can Ranorex call an application on the remote server?

Post by Kevin » Mon Nov 08, 2010 4:26 am

Ciege wrote: Here you would need to look into using some sort of RDP or VNC technology but that would require Ranorex to be installed on the remote machine.
Thanks a lot for your reply! Actually it's still hard for my case even using RDP technology. I developed my own application (App_mine) by leveraging Ranorex API to drive another application (App_3rd). I have made them work together well on one server. However at the time of deployment, our client asked us if we can deploy them on different servers. I can't see the possibility of implementing this purpose without a big change to the architecture of App_mine.

I think next time I need to break my application into two parts. Part 1 can be deployed on any server responsible for sending commands, and part 2 will be a client applicaiton to receive the commands and drive the target appl by leveraging Ranorex.

Anyway, your suggesion open my mind. Thanks for your kindness.

Kevin