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

2009-06-19 Thread Pato Coronel
Hi! I'm new with Watir and Ruby. I'm trying to learn to use the tool and to program using Ruby too... I have a laptop with Windows Vista and using Ruby-186-26. The only thing I have done is to copy an example about a google search using SctIE editor and saving it with .rb extension. This is the

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

2009-06-19 Thread ryan li
This code is from example of openqa.org, I just ran the code without problem ( WinXp+IE6), so I think it might related with Vista or IE(7?)'s setting. -r On Fri, Jun 19, 2009 at 11:00 AM, Pato Coronel patriciacoro...@gmail.comwrote: Hi! I'm new with Watir and Ruby. I'm trying to learn to

[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 发送时间:

[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 patriciacoro...@gmail.com 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

[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 patriciacoro...@gmail.com wrote: At the same time it is executing, the new window of the

[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

[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

[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

[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

[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] 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: 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=gstq=right+click+new+window#05db8fa64b6b8cd6 orde --~--~-~--~~~---~--~~ You received this message because you are