Re: [wtr-general] Script not generating for the new window

2010-03-01 Thread Željko Filipin
On Mon, Mar 1, 2010 at 8:03 AM, ayyappa ayyappa...@gmail.com wrote: I came to know that we can generate scripts in Watir using WatirMaker WatirMaker is not supported at this list. Try at their list. You might get an answer here, but the chances for that are not so good. You will find that

Re: [wtr-general] My work on watir-webdriver (especially safari driver)

2010-03-01 Thread Željko Filipin
On Sun, Feb 28, 2010 at 7:46 PM, Al Snow jas...@hotmail.com wrote: (especially with the safari driver for watir-webdriver) I am really interested in learning more about Safari driver for watir-webdriver. I am subscribed to your blog. Željko -- watir.com - community manager

[wtr-general] Watir::Exception::UnknownObjectException: Unable to locate element, using :class 'xyz '

2010-03-01 Thread anna barbara ostrowska
Hi there, When I try to locate and click 'div' element using 'class' @browser.div(:class,'xyz').click following error occurs Watir::Exception::UnknownObjectException: Unable to locate element, using :class 'xyz' Any ideas how to solve it? Thanks in advance. Anna -- You received

Re: [wtr-general] Watir::Exception::UnknownObjectException: Unable to locate element, using :class 'xyz '

2010-03-01 Thread Željko Filipin
On Mon, Mar 1, 2010 at 11:58 AM, anna barbara ostrowska ab.ostrow...@gmail.com wrote: @browser.div(:class,'xyz').click Watir::Exception::UnknownObjectException: Unable to locate element, using :class 'xyz' Please post html of the div. Is it in a frame? Željko -- watir.com - community manager

Re: [wtr-general] Watir::Exception::UnknownObjectException: Unable to locate element, using :class 'xyz '

2010-03-01 Thread anna barbara ostrowska
Hi, thanks for prompt response div class=nmp_SettingsSpice unselectable=ondiv class=nmm_Butta unselectable=onMore.../a and just in case env: RubyGems Environment: - RUBYGEMS VERSION: 1.3.5 - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] - INSTALLATION DIRECTORY:

Re: [wtr-general] Watir::Exception::UnknownObjectException: Unable to locate element, using :class 'xyz '

2010-03-01 Thread Željko Filipin
On Mon, Mar 1, 2010 at 12:21 PM, anna barbara ostrowska ab.ostrow...@gmail.com wrote: div class=nmp_SettingsSpice unselectable=ondiv class=nmm_Butta unselectable=onMore…/a Please post your Watir code too. This should work if div is not in a frame: browser(:class = nmm_Butt).click I wonder if

[wtr-general] Donate to Watir

2010-03-01 Thread Željko Filipin
If you like the Watir project, you can make a donation. There is donate button at http://watir.com/. We have raised $500 this year. We will spend it on hosting and stuff like that. We will not spend it on beer, no matter how much I would like that. :) You can see list of donors and Bret's thank

[wtr-general] Watir - Firefox (encoding problem)

2010-03-01 Thread ponto
hello, i'm trying to set an text_field's value to an string with é char, but what on firefox appears é. does anyone knows how to solve this? -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

Re: [wtr-general] Watir - Firefox (encoding problem)

2010-03-01 Thread Željko Filipin
On Mon, Mar 1, 2010 at 4:19 PM, ponto hugoandrego...@gmail.com wrote: i'm trying to set an text_field's value to an string with é char, but what on firefox appears é. I remember seeing that problem on the list. Until somebody replies, browse the archive. Željko -- watir.com - community

Re: [wtr-general] Watir - Firefox (encoding problem)

2010-03-01 Thread ponto
i'm on linux i saw this http://www.mail-archive.com/watir-general@googlegroups.com/msg04744.html but this didn't work for me. i'm using firewatir (1.6.5), with firefox compiled by myself with jssh extension (is there any compile option to set unicode or something for jssh?). On 1 March 2010

Re: [wtr-general] Watir - Firefox (encoding problem)

2010-03-01 Thread Željko Filipin
On Mon, Mar 1, 2010 at 4:55 PM, ponto hugoandrego...@gmail.com wrote: (is there any compile option to set unicode or something for jssh?). Try driving Firefox with watir-webdriver (until FireWatir ninjas answer), maybe it will solve the problem:

Re: [wtr-general] Watir - Firefox (encoding problem)

2010-03-01 Thread ponto
yeah, i've already done that. but i would like to use it on firewatir, i will have to wait :P On 1 March 2010 15:59, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Mar 1, 2010 at 4:55 PM, ponto hugoandrego...@gmail.com wrote: (is there any compile option to set unicode or

Re: [wtr-general] Watir - Firefox (encoding problem)

2010-03-01 Thread Željko Filipin
On Mon, Mar 1, 2010 at 5:02 PM, ponto hugoandrego...@gmail.com wrote: yeah, i've already done that. It works fine with watir-webdriver? but i would like to use it on firewatir Why? Željko -- You received this message because you are subscribed to the Google Groups Watir General group. To

Re: [wtr-general] Watir - Firefox (encoding problem)

2010-03-01 Thread ponto
yes, it worked fine. well, because i'm doing an study on web functional testing tools for a company, and using webdriver maybe it would be better to use the original one, i mean the new on-going selenium2, i think. but i'm not sure. for what i really don't know yet. On 1 March 2010 16:08, Željko

[wtr-general] execution expired

2010-03-01 Thread hliauw
Hi, can somebody help me understand the following exceptions? it happened on both ie and firefox goto call. E, [2010-03-01T04:11:28.918000 #2884] ERROR -- : Exception in goto: execution expired: [C:/Ruby/lib/ruby/1.8/timeout.rb:60:in `wait',

Re: [wtr-general] execution expired

2010-03-01 Thread windy
method Timeout::timeout throw Timeout::Erorr exceptions,it happens if browser can't open or open it too slow. you should test the url manual,or increase var 'toutval'. 在 Tue, 02 Mar 2010 01:17:53 +0800,hliauw hli...@gmail.com 写道: Hi, can somebody help me understand the following exceptions?

[wtr-general] Re: execution expired

2010-03-01 Thread hliauw
Windy, thanks a bunch. toutval is currently set to 30s and 40s respectively. The url is an internal test page with just 9 images in it. I tested the url manually from the same machine and it loads within 1-2s. I should say that we are actually using watir+browser to test a proxy server so there is

[wtr-general] Re: Switching from Test::Unit to RSpec - tips/gotchas? Short code review.

2010-03-01 Thread Adam Reed
I'm at it again! Having some trouble completing an RSpec script with a pretty simple concept -- mostly having trouble with the hierarchy of it all. Basically, I have a single page with many links. Each link points the same type of template with a different title. The script stores these links