cancel
Showing results for 
Search instead for 
Did you mean: 

Putty Automation Question

jaladipc
Level 2
We are trying to automate Linux checkouts and will end up using putty instead of PLINK, as we need to SUDO SU to specific accounts and PLINK is not supporting it.

So,  we tried to do an application model with Putty. Ran into issue while trying to do region spying on the command screen.
Have the entire command window spied and then have an element that spies on the entire region.

Problem is, this particular element, which has actions available as get text, get text with OCR etc, is not giving the proper output.
Get text is not working at all and the get text with OCR is giving all gibberish.

Is there a means/workaround to get through this?


PJ
4 REPLIES 4

Hi Phani,

One of th emethod I used was shell scripting inside the Linux system.

1) Use other spy mode for the Putty gui
2) Use OCR for some part of the Putty screen
3) Use Shell scripting when you are working in side the linux.

This method works for me.
I hope it helps.





------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------

With Region Mode, to use get text you need to identify the font on the screen.
Guidance on how to do this is in the Blue Prism Surface Automation course on Blue Prism University, specifically Chapter 6 of the Surface Automation Advanced Training Guide (https://university.blueprism.com/learn/course/200)

For Read Text with OCR, there are some settings that you can adjust to improve performance, such as changing the page segmentation mode or adjusting the image scale. See Blue Prism Reading Text with OCR on Blue Prism University for details (https://university.blueprism.com/learn/course/329/).

Read Text is deterministic via character matching, so try to make that work before resorting to OCR if you can.

#SurfaceAutomation #surface_automation #OCR                     ​​​

------------------------------
Patrick Aucoin
Senior Product Consultant
Blue Prism
------------------------------

Hi, Phani,

I like challenges and if the only requirement is to get text from PuTTy is it pretty simple through clipboard. No OCR needed 100% text fidelity ;). See the business object which I created when reading your requirements. PuTTY should be started beforehand (object will attach) and then you will get the text in the window from PuTTY to Text Data Item in Blue Prism. Not sure what you want to do next but that should get you started.

Regards,

------------------------------
Zdeněk Kabátek
Head of Professional Services
NEOOPS
http://www.neoops.com/
Europe/Prague
------------------------------

Thank you. This clipboard approach worked :)

------------------------------
Phani Jaladi
America/Toronto
------------------------------
PJ