Jump to content

Need help to run script on remote machine


Recommended Posts

Hi,

I have automation scripts which i am trying to run on VSTS agent which is running on remote desktop. if i login to remote desktop then i can see script running OK but if i do not login or remote desktop minimized then script  is losing focus and hang . 

is there any workaround for it pls?

 

Link to comment
Share on other sites

  • Moderators

@vick you have not provided enough information to help us help you. What are the scripts doing? Are they GUI scripts? What credentials are they running under? etc. etc. etc.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

this is automation script of window application. so i trigger build from VSTS which will start and run script on VSTS agent which is running on remote machine. If i log in remote machine and keep open on monitor then it works fine. But if i not keep open then script looks like not finding some windows etc and script hangs. I can see in task manager it is running but doing nothing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...