Page 1 of 1

Can Ranorex call an application on the remote server?

Posted: Fri Nov 05, 2010 6:17 pm
by Kevin
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

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

Posted: Fri Nov 05, 2010 7:36 pm
by Ciege
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.

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

Posted: Mon Nov 08, 2010 4:26 am
by Kevin
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