0

Well hello, i'm about to start my little app. The only task i want it to perform is a left mouse click on a button on the browser, IE, Firefox, Safari... I wonder if this can be done as the click will be performed outside the program window or frame. The app will run minimized and will simulate a left click on an active window with the coordinates i provide. Can this be done with Java? or do i have to use C as i assume i have to talk to Windows API? Thanks for your time.

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by peter_budo
0

The Robot class has a method to click anywhere on the screen. Finding the coordinates of the browser's button may be harder...

2

If you want to just create click on browser you may want to look into Selenium library (nice library used for testing web applications)

Votes + Comments
thanks for link +1
0

I'm looking at Selenium documentation and it says that

You can export the recorded test in most language e.g. html, Java , .net , perl , ruby etc. The exported test can be run in any browser and any platform using "selenium remote control"

How could that help if the selenium remote control has to be installed on the client's browser?

0

Doesn't need to be installed. You are looking on Selenium IDE that is plugin for browsers and used as easy way to record test. You need to check code base library and then you will be able to monitor events on a browser

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.