Bach Le wrote: > I've installed watir 1165 and tried using IE.new_process on Windows Vista and > in both tests and irb, IE.new_process fails. It fails after creating the > window when it tries to get the process id from hwnd. > > I have a coworker who installed this on his Vista machine and it works fine. > > > The problem is that Shell.Application.windows does not get all of the windows > but just the ones that are browsing the file system so the IE windows do not > show up in this list. It ends up doing in an infinite loop and never breaks > out of it. > > > Does anyone have any idea how to fix this? > Thanks for the report. I've logged this as http://jira.openqa.org/browse/WTR-156
I am in the process of migrating this functionality into core watir and would like to get problems like this fixed. I guess the next step is to figure out why the Shell.Application windows are not including any of the IE windows. That is definitely a problem, and, as stated, would be a core MS bug. The other possibility might be that it actually is showing up in this list, but there could be a flaw in the logic we are using to decide whether it is an IE window or not (there have been other flaws in the past). Bret _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
