basics of CLI automation [closed]
I want to know any basic program (using java) for CLI automation
Try ExpectJ
http://expectj.sourceforge.net/
(I think what you're looking for is generally known as 'Expect' in several languages)
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?
精彩评论