09-03-2009, 11:28 AM
Aditi -
Have you tried,
Have you tried,
Code:
getVisibleText = window("nativeclass:=PUTTY").GetVisibleText
If Instr(getVisibleText,"Password = ")>0 Then
window("nativeclass:=PUTTY").click
window("nativeclass:=PUTTY").Type " "
window("nativeclass:=PUTTY").Type "Dt0005"
End If
Let me know if it helps.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.