0

How to connect to putty via Selenium-Java to execute set of commands and validate the output in putty window? seeing various options and posts for trying out plink.exe and downloading autoit

balaji vn
  • 1
  • 1

1 Answers1

1

Selenium is for automating test cases using browser. Hence, it can work only on browsers, not on operating systems.

If you want to play with *nix operating systems by remotely logging into them with putty and run *nix commands using java code, I would recommend using below open source libraries.

  1. sshj
  2. jcraft

If you wish to use cygwin for running *nix commands, you can take advantage of Java RunTime as discussed here

Hope this helps! Good luck.

harshavmb
  • 3,404
  • 3
  • 21
  • 55