[wtr-general] Re: Watir problem with IE
thanks. that helped On Mar 16, 7:06 pm, wesley chen cjq@gmail.com wrote: You may know all the ie windows attributes by: Watir::IE.each { |ie| puts ie.title puts ie.url } You can locate the special ie window by: ie=Watir::IE.find(:title,/ie_title_name/) # ie=Watir::IE.find(:url, /ie_url/) ie.goto(...) Thanks. Wesley Chen. On Mon, Mar 16, 2009 at 9:54 PM, Al Snow jas...@hotmail.com wrote: The answer (assuming you are running Vista) is in the Watir FAQ http://wiki.openqa.org/display/WTR/FAQ#FAQ-WhatshouldIdoiftwobrowserw... under What should I do if two browser windows appear when running a test under Windows Vista? Thanks, Al Snow Agile Software Automation Developer Linkedin:http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow Date: Mon, 16 Mar 2009 02:45:21 -0700 Subject: [wtr-general] Watir problem with IE From: rakeshg...@gmail.com To: watir-general@googlegroups.com Hi, When i execute the following code ie = Watir::IE.new() ie.goto(http://www.yahoo.com;) it opens a new IE window first and then goes to a second window, where yahoo.com is opened. When i give a command like ie.refresh() or access ie.html it is the first window ( which is blank ) that is being refreshed. Can you please suggest how to avoid multiple windows being opened and also how to save a webpage opened like this? Thanks, Rakesh Pai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Watir problem with IE
You may know all the ie windows attributes by: Watir::IE.each { |ie| puts ie.title puts ie.url } You can locate the special ie window by: ie=Watir::IE.find(:title,/ie_title_name/) # ie=Watir::IE.find(:url, /ie_url/) ie.goto(...) Thanks. Wesley Chen. On Mon, Mar 16, 2009 at 9:54 PM, Al Snow jas...@hotmail.com wrote: The answer (assuming you are running Vista) is in the Watir FAQ http://wiki.openqa.org/display/WTR/FAQ#FAQ-WhatshouldIdoiftwobrowserwindowsappearwhenrunningatestunderWindowsVista%3F under What should I do if two browser windows appear when running a test under Windows Vista? Thanks, Al Snow Agile Software Automation Developer Linkedin: http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow Date: Mon, 16 Mar 2009 02:45:21 -0700 Subject: [wtr-general] Watir problem with IE From: rakeshg...@gmail.com To: watir-general@googlegroups.com Hi, When i execute the following code ie = Watir::IE.new() ie.goto(http://www.yahoo.com;) it opens a new IE window first and then goes to a second window, where yahoo.com is opened. When i give a command like ie.refresh() or access ie.html it is the first window ( which is blank ) that is being refreshed. Can you please suggest how to avoid multiple windows being opened and also how to save a webpage opened like this? Thanks, Rakesh Pai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---