开发者

basics of CLI automation [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and canno开发者_如何学Ct be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜