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.
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