[wtr-general] Re: Get script name within the script

2009-03-25 Thread vladimir...@hotmail.com
Thank you very much, Bill. The idea is to name the results file for each script in a test set by the name of the script. All scripts use Test::Unit class and have the same setup method. If I run system(ruby test1.rb), in setup I read the name of the script and create a results file called

[wtr-general] Re: firefox error

2009-03-25 Thread Angrez Singh
Have a look here see if it works http://wiki.openqa.org/display/WTR/FireWatir+Installation - Angrez On Wed, Mar 25, 2009 at 9:47 AM, Vikas Tulashyam vtulash...@gmail.comwrote: Hi,l I have installed 2 plugins from the url-- http://code.google.com/p/firewatir/downloads/list but I m nt able

[wtr-general] Re: firefox error

2009-03-25 Thread KiranD
Hi, See http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallat ion-3%29InstalltheJSSHFirefoxExtension It is working, I was facing same problem. Kirand From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Angrez Singh Sent:

[wtr-general] Re: firefox error

2009-03-25 Thread Al Snow
Read these instructions. http://wiki.openqa.org/display/WTR/FireWatir+Installation Thanks, Al Snow Agile Software Developer Linkedin: http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow Date: Tue, 24 Mar 2009 21:05:51 -0700 Subject: [wtr-general] Re: firefox error From:

[wtr-general] Re: FCKEditor Help

2009-03-25 Thread KiranD
Hi, I got the solution, ie.frame(:id,ctl00_ContentPlaceHolder1_FCKeditor1___Frame).frame(:index, 1).document.body.focus puts FCKEditor Passes ie.send_keys(Life is Good) Thank you, Kirand From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of

[wtr-general] Re: firefox error

2009-03-25 Thread Vikas Tulashyam
Hey Thanks to all I am able to install it now. On Mar 25, 4:05 pm, Al Snow jas...@hotmail.com wrote: Read these instructions.http://wiki.openqa.org/display/WTR/FireWatir+Installation Thanks, Al Snow Agile Software Developer Linkedin:http://www.linkedin.com/in/alsnow Google Talk:

[wtr-general] Re: click on menus

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 15:42, sabrina.benyc...@experian.com wrote: I don't know how to access an element of this menu and to click on it with watir browser.frame(how, what).cell(how, what).click More information: http://wiki.openqa.org/display/WTR/Frames I don't know either where to find a

[wtr-general] Re: 'click_no_wait' command in Firewatir

2009-03-25 Thread Vijay
Bret, Thanks for the information. Have posted an issue at the link below: http://code.google.com/p/firewatir/issues/list Vijay On Mar 24, 7:49 pm, Bret Pettichord b...@pettichord.com wrote: Right. click_no_wait is not implemented in FireWatir. I'm not sure if this is already logged in

[wtr-general] Re: How can I get Horizontal Position of an element in watir

2009-03-25 Thread marekj
Yeah! Goldmine of knowledge there in those links Thanks Alan marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Wed, Mar 25, 2009 at 9:08 AM, Alan Baird alan.ba...@riskmetrics.comwrote: You can also look at:

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
thanks for your answer, I don't manage to make it work, in fact I don't have a frame but a frameset browser.frame(:id, framesetMain) doesn't work I get this error: Unable to locate a frame with id framesetMain (Watir::Exception::UnknownFrameExcep tion) what can I do to access this element

[wtr-general] Re: click on menus

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 17:18, sabrina.benyc...@experian.com wrote: frame index: 1 Access Denied Oh, it is our old friend Access Denied. Long time no see. :) There are a few solutions here: http://wiki.openqa.org/display/WTR/Frames Željko

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
in fact I tried to follow instructions given to the page:http:// wiki.openqa.org/display/WTR/Frames but when I go to the url of the frameset; the application automatically returns to the login page :( On Mar 25, 5:26 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Mar 25, 2009

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-25 Thread BrianRosenthal
I'm seeing extremely slow typing consistently on Ubuntu linux. Ubuntu Linux JSSH 0.9 Firefox 3.0.7. Ruby 1.8 Best, Brian PS: I'm new to firewatir... have been playing around with it pretty intensely for the last couple of weeks... love it. :)

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
it returns : there are 2 frames frame index: 1 Access Denied, see http://wiki.openqa.org/display/WTR/FAQ#access -denied frame index: 2 Access Denied, see http://wiki.openqa.org/display/WTR/FAQ#access -denied :( On Mar 25, 5:06 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed,

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
this message doesn't appear again with the solution n°2: I added the url of the frame to trusted sites in ie :) thanks On Mar 25, 5:51 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Mar 25, 2009 at 17:42, sabrina.benyc...@experian.com wrote: but when I go to the url of the

[wtr-general] Re: Maximizng the Browser

2009-03-25 Thread IDIEININIIS
Yes that fixed the problem. Thanks for the prompt and informative reply. On Mar 24, 2:42 pm, Charley Baker charley.ba...@gmail.com wrote: Make sure autoit is registered. Navigate to the directory where autoit lives through the command line and type regsvr32 AutoItX3.dll Autoit is installed

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-25 Thread Al Snow
Here's a thread that might help you: http://groups.google.com/group/watir-general/browse_thread/thread/f5d12e8b094e8798 Thanks, Al Snow Agile Software Developer Linkedin: http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow Date: Wed, 25 Mar 2009 09:43:11 -0700 Subject:

[wtr-general] rspec 1.2 public service announcement

2009-03-25 Thread Alan Baird
All - I upgraded some of my environment today to the latest version of rspec, which is 1.2. Since I was just doing 'gem install rspec' I automatically got the latest version. I should have paid more attention to the large announcement/warning when updating which admonishes you to check out

[wtr-general] Re: click_no_wait broken with Ruby 186-27

2009-03-25 Thread Hugh McGowan
Here's a workaround that I'm using. Ideally, the ruby source should be changed to work with both command line uses of double quotes but this should work for watir. It's not pretty but this has worked for me in both versions 1.8.6-26 and 1.8.6-27. The older code branch uses \ to indicate a double

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-25 Thread aedorn
The current way around this is to keep something running at all times that's active. You can use a real simple shell script even: #!/bin/sh while : do echo background process done It's kind of obnoxious, but it is, right now, the only way to make things go faster. On Mar 25, 10:43 am,

[wtr-general] os and browser version

2009-03-25 Thread Paul Rogers
some one on irc wanted to get the browser and os versions. THis code uses the user-agent, so might not always be correct, but its probably good enough. Not sure if it works on IE8 It came from a module that was included into the Watir and FireWatir modules. Its from an old code base, so may need

[wtr-general] Re: os and browser version

2009-03-25 Thread Alan Baird
Paul - Thanks for that. Since I needed to verify which IE version was installed before starting it, I have a windows only (IE only) script that will get the version of IE from the registry. Probably limited usefulness but here it is just in case it's useful to someone. require

[wtr-general] Re: using a logger with watir loses formatting

2009-03-25 Thread Bret Pettichord
Watir uses activesupport and i think this modifies the logger. Or maybe its another gem that Watir uses. Not sure really, but i think it's something like that. Bret Ruf, Wadud wrote: Marekj, You describe the exact same scenario as what I am experiencing. I’ve still not found out why

[wtr-general] Re: rspec 1.2 public service announcement

2009-03-25 Thread Bret Pettichord
Thanks for the upgrade note. Alan Baird wrote: All – I upgraded some of my environment today to the latest version of rspec, which is 1.2. Since I was just doing ‘gem install rspec’ I automatically got the latest version. I should have paid more attention to the large

[wtr-general] Re: Obect not found to Firewatir

2009-03-25 Thread Bret Pettichord
Could be a timing issue. Are you sure that the object exists on the page at the very moment that this code is being executed? Bret KiranD wrote: Hi, My script is running on IE without an error. I am trying to run same script using firewater. But it is showing an error

[wtr-general] Re: Maximizng the Browser

2009-03-25 Thread Bret Pettichord
This was caused by a bug in Watir, introduced I think with 1.6.2. Before that it happened intermittently. Since then it will happen to any one who installs Watir for the first time. I have fixed this bug. It will be released in the next version of Watir. Bret IDIEININIIS wrote: Yes that

[wtr-general] Re: os and browser version

2009-03-25 Thread Paul Rogers
Nice! Theres probably a better way to get the firefox version too, does firefox.exe take a -v to return version number? Paul On Wed, Mar 25, 2009 at 5:39 PM, Alan Baird alan.ba...@riskmetrics.comwrote: Paul – Thanks for that. Since I needed to verify which IE version was installed

[wtr-general] Simulate high latency connections with Watir?

2009-03-25 Thread rollo
Hello Watir Community. Has anyone done testing on a simulated high latency/low bandwidth network connections in Watir? I have a fine running suite. However, I'm tired of manually configuring systems overseas to run my suites. I'd like to be able to simulate (throttle) a slow connection. Any

[wtr-general] Re: Simulate high latency connections with Watir?

2009-03-25 Thread Manish Sapariya
http://www.uselessapplications.com/en/Application/IEThrottle.aspx Hope this helps. Please share your finding if its useful. -Manish rollo wrote: Hello Watir Community. Has anyone done testing on a simulated high latency/low bandwidth network connections in Watir? I have a fine running

[wtr-general] Re: Obect not found to Firewatir

2009-03-25 Thread KiranD
Yes, I was there. I also used sleep command. But not worked. Regards, Kirand -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Bret Pettichord Sent: Thursday, March 26, 2009 5:26 AM To:

[wtr-general] unknown property or method `navigate' HRESULT error code:0x800706ba The RPC server is unavailable.

2009-03-25 Thread Alister Scott
Hi, I am continually running a watir script (eight times per minute), every minute, and I am piping standard out and standard error to a log file. I noticed in the log file that about every twenty or so runs the following exception is thrown: unknown property or method `navigate' HRESULT