[
http://jira.openqa.org/browse/WTR-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zeljko closed WTR-312.
----------------------
Resolution: Won't Fix
If this is still a problem, please report it here:
https://github.com/watir/watir-classic/issues
> attach to Embedded IE window
> ----------------------------
>
> Key: WTR-312
> URL: http://jira.openqa.org/browse/WTR-312
> Project: Watir
> Issue Type: New Feature
> Components: Window Attachment
> Affects Versions: 1.5.0/1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.6.0,
> 1.6.1, 1.6.2
> Environment: windows
> Reporter: Matt Wolfe
> Priority: Major
> Fix For: Future
>
>
> Currently there is no support (from what I've seen) for attaching watir to an
> embedded IE window. Several users have had a need for this and I've done some
> research on the issue but have not yet been able to get a working solution.
> What would be nice is to add a new method to watir called something like
> attach_embedded(how, what)
> where how could be :title or :hwnd
> and what being the corresponding value
> autoit has a function for attaching to an embedded browser and I've tested
> that it works. Thus, In autoit IE.au3 they have a function which when given a
> hwnd will return the IE control which if we could do the same thing with
> watir, we could bind that and control it like a regular browser.
> The following has the source for IE.au3, if you look there is a function
> called __IEControlGetObjFromHWND
> which is what I am referring to. Check it out:
> http://www.therks.com/autoit/install/Include/IE.au3
> A few people have attempted to implement this function but have been unable
> to call the idispatch interface method that is returned (at least, thats what
> i think the problem is). Here is the most recent attempt which didnt work in
> my tests:
> http://rubyforge.org/forum/forum.php?thread_id=33188&forum_id=319
> I've compiled some useful links about the issue and I'll post them here:
> http://groups.google.com/group/watir-general/browse_thread/thread/479a9e9e608c009
> http://www.wolfewebservices.com/blog/attaching-watir-embedded-ie-browser
> http://rubyforge.org/tracker/?func=detail&atid=1700&aid=8437&group_id=426
> http://www.bsalsa.com/ie_tools_auto.html
> http://msdn.microsoft.com/en-us/library/dd373605(VS.85).aspx
> http://support.microsoft.com/kb/q249232/
> http://social.msdn.microsoft.com/forums/en-US/clr/thread/0d2e200d-d39d-453a-ad43-029d2f20d15e/
> http://www.nabble.com/write-COM-clients-in-Ruby-td10986533.html
> I've also seen some code related to modal dialogs which looks like it may
> have been trying to accomplish the same thing but I wasn't sure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development