Hi !

Perhaps the Robot-class is what you are looking for (included in Sun's JDK
since 1.3)...

"This class is used to generate native system input events for the purposes
of test automation, self-running demos, and other applications where control
of the mouse and keyboard is needed. The primary purpose of Robot is to
facilitate automated testing of Java platform implementations."

Hope it helps...

Regards
stefan


-----Ursprungligt meddelande-----
Fr�n: jayaraman sureshkumar [mailto:[EMAIL PROTECTED]]
Skickat: den 8 januari 2003 05:10
Till: JDJList
�mne: [jdjlist] Help pl


Hi Gang..

I need to mimic key strokes using a java program.

scenario: I am involved in UI testing automation. For windows I have tool 
like silk test which would help me to automate the UI testing .for solaris &

unix platforms I have none ..so I wanted to develop a program which would 
take a command file as input and does the rest for me based on commands ..

The command might be like ..
open the browser
point to hotmail.com
tab
type name
tab
type password
tab
enter

etc ...

please note i want to mimic only keystrokes.. if i can mimic mouse movement 
also that would be great ...
Can any one please throw me light on this ..

Thanks in advance ..

regards

suresh





_________________________________________________________________
MSN 8: advanced junk mail protection and 2 months FREE*. 
http://join.msn.com/?page=features/junkmail


____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to