PDA

View Full Version : Automating Internet Explorer



Poorman65
August 23rd, 2007, 09:24 PM
I am trying to automate access to a Web site that is displayed in Internet Explorer. I played around with the "win" library a little and I can find the browser instance handle. I have tried to enumerate through its children to find the buttons on the page but it I am not finding the buttons as children. I also don't see the buttons in the Window picker in Girder.

I am guessing that they are rendered without using the WIN32 buttons, but I am not sure.

Does anyone already have a way to automate finding and clicking buttons in Internet Explorer using Girder??? I can probably rig something up, but I would rather reuse than recreate.

An example of what I am trying to do is to find the "Next" button that is contained within a Web page and click it (or trigger it some other way.)

Poorman65
August 28th, 2007, 10:31 AM
I am still working on this part of my project and have some great possible solutions, but I need some assistance.

One of the possible solutions is to use open source WATIJ. This is a Java library that can do exactly the stuff I need.

I am now trying to figure out the best way to incorporate this into my Girder stuff. I have seen some references to a Girder Java bridge from the past, but I am not sure if it is still available.

What would be the best way to access Java code from Girder?

I would like to be able to return status codes back to Girder from the Java classes so that I can keep my Net Remote in synch with what is showing in the browser.

Ron
August 28th, 2007, 03:42 PM
I have not used it but here is the link to the Girder Java library.

http://sourceforge.net/project/showfiles.php?group_id=63575&package_id=70246

Poorman65
August 28th, 2007, 07:21 PM
Thanks Ron. I will let you know how this works out.