As mentioned in the subject,
I want to read a txt file into a string from ssh using Terminal Emulator putty
Is that possible in QTP or first I have to download txt file to my local computer ?
Please share your ideas and experiences, thanks.
I look serious because I am serious.
I wonder if it is possible to grap the contents of the Putty screen into a lst of string in memory ?
I am sending a command with -verbose via SSH in putty, and a long message sceen seen on the screen, later I want to make a search on this message
You can use the .GetVisibleText method to get the text present on the prompt.
Something like this:
returnText = Window("nativeclass:=ConsoleWindowClass","hwnd:=12 2121").GetVisibleText