IE events in win32com

Bryan L. Fordham bfordham at socialistsushi.com
Thu Oct 24 15:46:28 EDT 2002


I know I'm missing something simple here, but I can't get this to work.

Can someone give me a quick rundown on how I can write a class that will 
receive events from IE?  Speficially, I'd like something that can tell 
when a link is clicked or a form submitted.

I'm wanting to make something that can be used in testing: you navigate 
through some pages and record what you do, to be played back later in 
various forms to test that it all still works.

I have the control part done, and it works great!  That, combined with 
pyunit, has made my testing a breeze.  But the creation of the tests is 
a bit time-consuming, and I certainly can't ask someone not familiar 
with coding to create their own.

Sample code would be nice, but just a simple walkthru (or pointer to the 
appropriate doc page) should suffice.  I've searched a bit but haven't 
found anything that I can get to work like I want.

Thanks,
--B





More information about the Python-list mailing list