[wtr-general] Re: [Wtr-development] Watir 2.0.3 Released

2011-10-21 Thread Bret Pettichord
Great! We should get money from Microsoft for all the work we've done to support IE9. Bret On Fri, Oct 21, 2011 at 10:55 AM, Jarmo wrote: > Hi! > > Watir 2.0.3 has been released. This version has the following changes: > * fix ElementCollections#[] > * fix IE::Process.start for IE9 when opening

[wtr-general] Re: I need to retrieve multiple span class="discussion-title"

2011-10-21 Thread Chuck van der Linden
On Oct 21, 10:41 am, Joe Fl wrote: > Hi, > > I need to retrieve multiple discusion titles from a page. I just want > the titles only and there can be 5 to 13 on a page with other links > listed under them.  I have tried the following and it will only return > the first discussion title or all li

[wtr-general] Re: retrieve drop list items/values

2011-10-21 Thread Chuck van der Linden
No need to be sorry, and I fully understand the 'revert to what I know' aspect of this when learning something new. So can you share some of the appropriate HTML for these tabs, and what you need to do with them? It may be that a for loop would be your best solution, but there might also be some

[wtr-general] Re: Browser(Chrome/Firefox) running in behind or invisible with Watir?

2011-10-21 Thread Chuck van der Linden
On Oct 20, 2:09 pm, Guoqiang Huang wrote: > Thanks for reminding, this is just for research purpose. And Facebook > don't provide a data stream like Twitter. > There's no concept of 'fair use' when it comes to terms of service, it's not like copyright, so 'research purposes' means nothing and gra

[wtr-general] I need to retrieve multiple span class="discussion-title"

2011-10-21 Thread Joe Fl
Hi, I need to retrieve multiple discusion titles from a page. I just want the titles only and there can be 5 to 13 on a page with other links listed under them. I have tried the following and it will only return the first discussion title or all links: subject_lines = $browser.div(:class,'one_co

[wtr-general] Watir 2.0.3 Released

2011-10-21 Thread Jarmo
Hi! Watir 2.0.3 has been released. This version has the following changes: * fix ElementCollections#[] * fix IE::Process.start for IE9 when opening multiple windows * add support for Spanish JavaScript and file upload dialogs * fix IE#execute_script for Ruby 1.9 with IE9 Install it with: gem inst

Re: [wtr-general] Re: best practice for modal that may pop up

2011-10-21 Thread Joe Fleck
Hi Chuck, I have thought of that but these scripts will be run in a production environment so hitting the back end might not be a wise solution. Thank you, Joe On Thu, Oct 20, 2011 at 4:41 PM, Chuck van der Linden wrote: > Potentially, is there some way to query the back-end directly to see > t

[wtr-general] Re: Get machine name for MAC

2011-10-21 Thread Joe DiMauro
Joe, Here's a partial answer to why puts ENV["COMPUTERNAME"] returned nil. Not every environment variable that is available on Windows is also on OSX (or Linux). To see which Env variables are available on your platform try this code, the results will differ form Windows, to OSX, to Linux. i

Re: [wtr-general] Watir-webdriver + right_click

2011-10-21 Thread Željko Filipin
On Fri, Oct 21, 2011 at 1:55 AM, RJ wrote: > Just curious to know, the technical readon why watir-webdriver has yet > to implement an official right_click operation. You will notice that not a lot of Watir developers read this list. You should post this to wtr-developm...@rubyforge.org, or maybe