Java Programming

how can we close a pop-up browser automatically using java?
[66 byte] By [veeranarayanaa] at [2007-10-2 11:49:43]
# 1
What is a "pop-up browser"?And when you say automatically, is this to be done without user input? Under what conditions, etc?
ChuckBinga at 2007-7-13 6:22:12 > top of Java-index,Java Essentials,New To Java Technology Archive...
# 2

Hi,

First of all thanks for your reply.

we are devloping the automation test tool using JExplorer API , the purpose is when we start the test, it will automatically checks the functionality of the website. in which i am getting some popup boxes, but i am not able to control those automatically.

my task is need to pass the control to popup message box and to close the popup box by clicking OK | CANCEL , YES | NO | CLOSE buttons automatically(without user interaction).

can you help me the exact API methods (examples) in JAVA API, that should solve my problem

veeranarayanaa at 2007-7-13 6:22:12 > top of Java-index,Java Essentials,New To Java Technology Archive...
# 3
Look at java.awt.Robot class
ChuckBinga at 2007-7-13 6:22:12 > top of Java-index,Java Essentials,New To Java Technology Archive...