Hi Roger, Yes I have started popup handler thread before "click".I have seen that popup handler handling other normal popups(other than on-click popups).I think it's not thread problem. hanging after button click is expected but I have to use click_no_wait to make it work so that it doesn't hang.But click_no_wait is not working. I am attaching my code please find it. /Phani. Attachments: http://www.ruby-forum.com/attachment/5225/vlan_add.rb -- Posted via http://www.ruby-forum.com/.