We don't really have a way to handle this situation. It's a problem. Sorry.
Bret
At 02:16 AM 8/30/2005, Ian Phillips wrote:
Hi
I have the following popup window:
Window [007b052c]
Title [Microsoft Internet Explorer] ClassName [#32770]
Thread ID [00000b9c] Process ID [00000c18]
Size [width=305, height=126]
Parent Window [0036041c]
Title [Kabira Order Processing - Microsoft Internet Explorer]
ClassName [IEFrame]
Thread ID [00000b9c] Process ID [00000c18]
Owner Window [0036041c]
Title [Kabira Order Processing - Microsoft Internet Explorer]
ClassName [IEFrame]
Thread ID [00000b9c] Process ID [00000c18]
Belongs to [0036041c]
Title [Kabira Order Processing - Microsoft Internet Explorer]
ClassName [IEFrame]
Thread ID [00000b9c] Process ID [00000c18]
I have tried to the following but it does not work:
new_window = Watir::IE.attach(:title, /Kabira Order Processing - Microsoft
Internet Explorer/)
I get the following message:
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1208:in `attach_browser_window':
Unable
to locate a window with title of (?-mix:Kabira Order Processing -
Microsoft Inte
rnet Explorer) (Watir::Exception::NoMatchingWindowFoundException)
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1111:in `attach_init'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1104:in `attach'
from ./CreateNewGroup_tst.rb:77
from C:/watir/KPSA_Tests/TestDriver.rb:39:in `load'
from C:/watir/KPSA_Tests/TestDriver.rb:39
How can I attach to this window?
Thanks
Ian
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_____________________
Bret Pettichord
www.pettichord.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general