This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I want to make a (preferably) command line based java program that will fill data into fields of a webpage or another program (java/non-java) and mention if the info entered was accepted or not.
Is this possible in Java? If yes, please suggest how I can do it.
The only two ways I can think of to input data into another program are using JNI or java.awt.Robot. The latter will require some precise coordinates if you need to perform automated mouse clicks. Getting info back will be a lot harder; I don't think it's possible with Robot, and it may be impossible with JNI as well.