From: Maung Aung Date: 2007-10-17T08:48:39+09:00 Subject: how to set focus on a popup window? Hi, This question is more to do with Watir. How do I switch focus on a popup window and continue working in it? I've tried this: hwnd = @ie.enabled_popup(4) if(hwnd) w=WinClicker.new w.makeWindowActive(hwnd) hwnd.image(:name, 'search').click end But it didn't work. Could someone has a clue? Thanks, maung -- Posted via http://www.ruby-forum.com/.