[wtr-general] Exception in select_list in firewatir linux

2010-03-15 Thread Josh Moore
Hi, I am using firewatir 1.6.5 on Ubuntu. I have subclassed the FireWatir::Firefox class to add some extra functionality. Now, whenever I try to find a select_list based on the name of the element I get an exception: irb(main):074:0 b.select_list(:name, 'txt.lang.selection').exists?

[wtr-general] Watir and Frames

2010-03-15 Thread Pallavi Sharma
Hi I have a frame issue with watir, where i get the following error: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in `method_missing': document (WIN32OLERuntimeError) OLE error code:80070005 in Unknown Access is denied. HRESULT error code:0x80020009

Re: [wtr-general] ruby.exe processes

2010-03-15 Thread rakesh swain
Hi, Execute the following. The process can be identified and terminated. require 'win32ole' require 'win32/process' wmi = WIN32OLE.connect(winmgmts://) processes = wmi.ExecQuery(select * from Win32_process) for process in processes do if

Re: [wtr-general] Migration from 1.62 to 1.65 for Watir and FireWatir

2010-03-15 Thread Željko Filipin
On Mon, Mar 15, 2010 at 6:51 AM, Betsy joybe...@gmail.com wrote: We are planning a Migration from 1.62 to 1.65 for Watir and FireWatir versions. Can anyone please highlight the known issues if any in doing so for both Watir and FireWatir? I had no problems, but I only use the IE driver

Re: [wtr-general] Exception in select_list in firewatir linux

2010-03-15 Thread Željko Filipin
On Mon, Mar 15, 2010 at 7:44 AM, Josh Moore joshsmo...@gmail.com wrote: I have subclassed the FireWatir::Firefox class to add some extra functionality. Now, whenever I try to find a select_list based on the name of the element I get an exception: It would be easier for somebody to answer if

[wtr-general] Re: Migration from 1.62 to 1.65 for Watir and FireWatir

2010-03-15 Thread Betsy
Thanks a lot for the info Zeljko... Can somebody throw some light on the FireWatir plugin too?? -Betsy Joy On Mar 15, 2:56 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Mar 15, 2010 at 6:51 AM, Betsy joybe...@gmail.com wrote: We are planning a Migration from 1.62 to 1.65

Re: [wtr-general] Re: Migration from 1.62 to 1.65 for Watir and FireWatir

2010-03-15 Thread Željko Filipin
On Mon, Mar 15, 2010 at 12:08 PM, Betsy joybe...@gmail.com wrote: Can somebody throw some light on the FireWatir plugin too?? What about it? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are

[wtr-general] Re: Migration from 1.62 to 1.65 for Watir and FireWatir

2010-03-15 Thread Betsy
About migration to the Latest version of Firewatir. On Mar 15, 4:33 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Mar 15, 2010 at 12:08 PM, Betsy joybe...@gmail.com wrote: Can somebody throw some light on the FireWatir plugin too?? What about it? Željko -- Before

Re: [wtr-general] Re: Migration from 1.62 to 1.65 for Watir and FireWatir

2010-03-15 Thread Željko Filipin
On Mon, Mar 15, 2010 at 2:09 PM, Betsy joybe...@gmail.com wrote: About migration to the Latest version of Firewatir. You do not need a new version of jssh plugin for new version of FireWatir. You can use the one you were using so far. Željko -- Before posting, please read

[wtr-general] Drop down menu

2010-03-15 Thread tester86
I need to click on a drop down. I have a script that will set the focus in the drop down list then when I go to select the value it does not select the list. Manually: When I click in the drop down field it gets activated then when I click on the drop down arrow it will display the list.

[wtr-general] Packaging up an browser with a script?

2010-03-15 Thread dchuk
So I've found Watir to be really cool, great for a lot of scraping and testing needs. I especially love the ability to record interactions in Firefox and for the most part have code ready to drop into my scripts. But now I'm at a point where I'd like to be able to script out a tool or test, then

[wtr-general] Re: Drop down menu

2010-03-15 Thread Tiffany Fodor
Hi! You have a typo in your select statement: $b.select_list(:index, 2).select_list(Test) should be: $b.select_list(:index, 2).select(Test) (although, I think $b.select_list(:index, 2).set(Test) should work as well) Have you tried firing your javascript to put focus on the field just before

[wtr-general] Re: Packaging up an browser with a script?

2010-03-15 Thread dchuk
A possible option that I'm seeing is Arora (http://code.google.com/p/ arora/) Do bindings exist for this browser? On Mar 15, 2:26 pm, dchuk darrindemc...@gmail.com wrote: So I've found Watir to be really cool, great for a lot of scraping and testing needs. I especially love the ability to

Re: [wtr-general] Re: Packaging up an browser with a script?

2010-03-15 Thread Ethan
No bindings exist for that browser, I expect. There are bindings for safari on Mac OSX, but I doubt they'd be at all compatible with that, the only similarity being Webkit. You might look into Firefox Portable, assuming you're on windows. I use that to keep a consistent browser environment for all

[wtr-general] Re: Packaging up an browser with a script?

2010-03-15 Thread dchuk
That's an interesting option, thanks for that. I'm actually on Ubuntu, and am most likely going to be needing solutions that work with Ubuntu nearly all of the time. Do you know of any way to strip down firefox to the bare essentials and possibly even package it with a Watir based app? I'm going

[wtr-general] Re: Packaging up an browser with a script?

2010-03-15 Thread dchuk
Well ultimately, I'd like to be able to expose my scripts through an API so I can just a make a call to them to get them to run, so I eventually want to drop them onto a server and have something like Sinatra serve up the API functions. Ever heard of anyone doing such a thing? It seems like