File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Simple form/field filler in java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Simple form/field filler in java ?" Watch "Simple form/field filler in java ?" New topic
Author

Simple form/field filler in java ?

Raghavendra Shockley
Ranch Hand

Joined: Jan 21, 2012
Posts: 69
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.

Thanks.

Back to square one.
Raghavendra Shockley
Ranch Hand

Joined: Jan 21, 2012
Posts: 69
please help me.
Raghavendra Shockley
Ranch Hand

Joined: Jan 21, 2012
Posts: 69
bounce
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

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.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Simple form/field filler in java ?
 
Similar Threads
Dx Ball Game
What Java book to get for a beginner?
Real World Java Code
Why main is declared as static?
Mainframe client