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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
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: 19693
    
  20

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 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple form/field filler in java ?