View Single Post
  #4  
Old 06-22-2018, 09:17 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,046
Hi winniec,

It's clear your Python knowledge exceeds mine (use of classes and such), so I am afraid I won't be much help figuring out where the issue is in that script.

You might just use the tried and true debug method of sprinkling in some message boxes so that you can be sure the variables contain what you think they should (previously entered credentials).

If I get some free cycles and can determine the cause, I will post here.

My initial suspicion is the prompt for that connection maybe does not end in the character you think it does?
while not objNewTab.Screen.WaitForString(">",3):
That would seem to bring up the prompt for credentials when it's not expected.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by bgagnon; 06-22-2018 at 09:25 AM.
Reply With Quote