2

I want to know any basic program (using java) for CLI automation

CloudyMarble
  • 36,908
  • 70
  • 97
  • 130
rajendra
  • 73
  • 1
  • 5

2 Answers2

1

Try ExpectJ

http://expectj.sourceforge.net/

(I think what you're looking for is generally known as 'Expect' in several languages)

laher
  • 8,860
  • 3
  • 29
  • 39
0

You can use the Java Robot to write your own basic program.

Alternative you can wsimulate System.in, check this thread: JUnit: How to simulate System.in testing?

Community
  • 1
  • 1
CloudyMarble
  • 36,908
  • 70
  • 97
  • 130