Scroll and take screenshot in SAP & Putty

We are developing BOT to take screenshot of file content in Putty & SAP.

Putty : BOT has to type the command to open the file in putty and take screenshot and save it to word file using “Add picture” activity.(replace the text using picture)

SOME files content is big and cannot be visible into one window. (To see all content, scroll down is required)

SAP : BOT has to open SAP and type tcode and open file and take screenshot . save it to word file using “Add picture” activity.(replace the text using picture)

Here also SOME files content is big and cannot be visible into one window. (To see all content, scroll down is required)

Note: Only few files in putty & SAP required scroll activity.

  • How to avoid scroll activity if there is no scroll bar in putty & SAP ( for small content files)
  • We need to mention the replace text in “Add picture” activity to place the screenshot in word file and those words should be available in WORD file . Since we are not sure which file has big content and how many screenshot the bot has to take . How to place those screenshots taken from one file into word file?
    Also , not sure how many times the bot has to scroll & take screebshot of big content files in Putty & SAP
1 Like

Hey @Sathish_Kumar_S

When you say a file is that just like a normal text file…

Please share some screenshots?

Thanks
#nK

No, it is not a text file. File content will be visible in putty & sap itself

Putty :

sap:

And scraping text looks a better way, is there any business case constraint to go with image ?

#nK

They have asked for image… if screenshot is not at all possible ( for big content file )… I can check with business for text instead of image

Checked with business - For audit purpose they need only screenshot of file info from putty & SAP ( they don’t want to export the file to text and convert into image)

1 Like

@Sathish_Kumar_S How to identify last line of the file in putty ?

It will end with username@hostname:~>

Username is constant…But hostname will change for each system.

username@hostname:~> will be available in beginning & end