Results 1 to 2 of 2

Thread: Putty screen login and password script

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    6

    Putty screen login and password script

    Hi all, could you correct me this script if any wrong: here i am opening a putty screen and entering login and password and quiting. Systemutil.run("c:\putty.exe")
    with window("regexpwndtitle:=putty configuration")
    .activate
    .winedit("nativeclass:=edit","attached text:=host &name (or ip address)").type "10.0.100.99"
    .winedit("nativeclass:=edit","attached text:=&port").type "23"
    .winradiobutton("nativeclass:=button","text:=&telnet").set
    .winbutton("text:=&open").click
    end with
    with window("nativeclass:=putty")
    .type "maint"
    .type micreturn
    .type "alaska17"
    .type micreturn
    .type "exit"
    .type micreturn
    end in the above script if record it then it's working fine, but in descriptive it's not executing. Please correct me that script if any thing wrong in that. Thanks in advance.

    Last edited by Lokesh M; 04-24-2007 at 01:25 AM.

  2. #2
    Junior Member
    Join Date
    Apr 2006
    Answers
    7

    Re: Putty screen login and password script

    first try to create a window variable i.e., set w=window("Title:=xxxxx")
    I think some problem with accessing properties of corresponding objects

    Last edited by kkkandula; 05-29-2007 at 04:46 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact