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

1
  • And what kind of problem you encountered when you tried those options? Commented May 27, 2017 at 4:14

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.