-
Junior Member
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.
-
Junior Member
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
-
Forum Rules