There are examples in watir's unittests, the user guide -
http://www.openqa.org/watir/watir_user_guide.html
There's also some documentation on microsoft's site on html and dhtml:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_
reference_entry.asp

This mailing list has a large archive which is worthy reading and
searching through.
IE has a developer toolbar which can help you get at the dom, the dom
is simply how elements are described:
http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en

As far as activex controls I'm not quite sure how that figures in to
your question, but follow Phlip's advice if it does.

-Charley


On 9/15/06, Phlip <[EMAIL PROTECTED]> wrote:
> srinivas vejalla wrote:
>
> > Can some one know me examples and list of APIs to read
> > DOM elements from Watir scripts.
>
> Do you need them, or does your program need them?
>
> If the former, you can use Firefox, hit your page, and use Tools -> DOM
> Inspector.
>
> I just discovered each time I click on an element, Firefox makes the real
> thing flash its borders. That makes me wish I needed to use this feature
> now!
>
> If your program needs them, then you must "iterate through ActiveX
> collection objects", so Google for that. In Ruby's WinOLE system. ;-)
>
> --
>   Phlip
>   http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to