JamesBlackman Posted August 8, 2007 Posted August 8, 2007 I wrote script at work that will open a telnet session to a bootbar and turn off or on a port which works fine as long as I have the remote desktop open the entire time the script runs. But if I close the session (still leaving it logged in just not connected to it anymore. The script does not work as expected. It seems that the WinActivate command does not work so the script will sit there waiting for the window to become activated. I can log in to the client and click the telnet window to make it active and the script will continue. I use this in automated testing, so i can not post the code I use because of the nature of my company and the agreements that I have with them.
DW1 Posted August 8, 2007 Posted August 8, 2007 Did you try activating by Handle? or just by window name? AutoIt3 Online Help
JamesBlackman Posted August 9, 2007 Author Posted August 9, 2007 Did you try activating by Handle? or just by window name?Window Name, I noticed all the other people that had problems after I posted this tread so I am going to try the different ways that I saw people where trying to do this. If none of those work I will post again. Thanks for the response.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now