[wtr-general] Re: Error using watir when trying to run a web testing

2009-06-19 Thread Ye Jian
The code without problem on my mahcine(winxp+IE7). 2009-06-19 QA Manager Ufinity/QA department Email: j...@cn.ufinity.com | Web: www.ufinity.com | MSN:ahyej...@hotmail.com Tel:0551-5312050,5312060-805 Address: 605 #317/318/319 Huangshan Road,HeFei City,An Hui Province 发件人: ryan li 发送时间: 2

[wtr-general] Re: Error using watir when trying to run a web testing

2009-06-19 Thread Željko Filipin
On Fri, Jun 19, 2009 at 5:00 AM, Pato Coronel wrote: > At the same time it is executing, the new window of the browser is > opened as requested in the code, but it is a blank window and a > message is displayed about security in the zones are different so it > is necessary to open the url in a dif

[wtr-general] Re: Error using watir when trying to run a web testing

2009-06-19 Thread ryan li
the quickest way might be add http://*.google.com to safe site. -r On Fri, Jun 19, 2009 at 4:10 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Fri, Jun 19, 2009 at 5:00 AM, Pato Coronel > wrote: > > At the same time it is executing, the new window of the browser is > > opened a

[wtr-general] Re: Setting HTML Properties

2009-06-19 Thread al3kc
Try ie.table(:index,1).document.style.display = 'block' It works for me on IE, not sure about FF. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-ge

[wtr-general] [FireWatir] Received data in read_socket is empty

2009-06-19 Thread dottree
Now I'd like to click an image in a page by it's id, but sometimes it returns empty value to me when the image is actually existing (error raised in "MozillaBaseElement.rb:1117:in `click'"). My script is something like: someframe.image(:id, someimg).click() But when I go through the scripts in d

[wtr-general] Re: Received data in read_socket is empty

2009-06-19 Thread jason
as you have worked out already - it looks like a timing problem - this normally happens when the page has not finished loading. this is because the wait method looks for isLoadingDocument when it should be looking for webProgress.busyFlags hope that helps. jason. On 19 Jun., 12:43, dottree w

[wtr-general] can I force javascripts links when clicked to load in a new window

2009-06-19 Thread jason
Hi all, Using firewatir, do you know if I can force javascripts links when clicked to load in a new window. ff.goto(someurl) ff.link(:index, 1).click #assuming that it has a javascript function call in the href I would love that click to open a new window and load the result of the ja

[wtr-general] Re: Watir like test tool for windows-applications

2009-06-19 Thread Richard Wijdenes
Zhimin, thank you for the info! It looks promising Richard --~--~-~--~~~---~--~~ 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,

[wtr-general] firewatir attach() issue

2009-06-19 Thread sHiVa
Hello all, My apologizes to all for posting this message even several threads are existed relevant to this topic.I am trying to attach a popup window using firewatir attach command but no luck. 'NoMatchingWindowFoundException' is displayed. Here is my code: #

[wtr-general] Re: firewatir attach() issue

2009-06-19 Thread orde
This works in IE: # require 'watir' b = Watir::IE.start('http://www.webdevelopersnotes.com/tutorials/ javascript/creating_opening_new_window_pop_ups_javascript.php3') b.link(:text=>/Open a new window/).click b1=Watir::IE.attach(:title,/Welcome/) puts b1.title

[wtr-general] Re: firewatir attach() issue

2009-06-19 Thread orde
This works in IE: # require 'watir' b = Watir::IE.start('http://www.webdevelopersnotes.com/tutorials/ javascript/creating_opening_new_window_pop_ups_javascript.php3') sleep 1 b.link(:text=>/Open a new window/).click b1=Watir::IE.attach(:title,/Welcome/) puts b1.title

[wtr-general] Re: can I force javascripts links when clicked to load in a new window

2009-06-19 Thread orde
Hi Jason-- This thread might help: http://groups.google.com/group/watir-general/browse_thread/thread/d98426e73262f416/05db8fa64b6b8cd6?lnk=gst&q=right+click+new+window#05db8fa64b6b8cd6 orde --~--~-~--~~~---~--~~ You received this message because you are subscrib

[wtr-general] Re: firewatir attach() issue

2009-06-19 Thread sHiVa
Hi orde, I want to work with Firefox. Would you please provide code for attaching a browser popup using firefox? I already succeeded with internet explorer regards Siva --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups