I want to know any basic program (using java) for CLI automation
Asked
Active
Viewed 591 times
2
-
1what do you mean by CLI automation? – Nishant Apr 19 '11 at 05:18
-
@JanHrcek Please stop adding this tag just because someone used it in an answer. – Andrew Barber Oct 08 '12 at 09:19
2 Answers
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