Re: [wtr-general] Re: Is there a version of jssh.xpi for FF3.6 for snow leopard

2010-02-01 Thread Željko Filipin
On Fri, Jan 29, 2010 at 5:47 PM, QAguy qablogm...@gmail.com wrote: def start_browser if WHICH_BROWSER == 'safari' then require 'safariwatir' requite 'watir' @browser = Watir::Safari.new else require 'web-webdriver' require 'firewatir' require 'watir' @browser =

[wtr-general] Can Watir verify the color?

2010-02-01 Thread Yuping Zhong
Hi, I want to use the watir to verify the color for some cells that are in the table. Do watir have this function.If so,how to do that? Many thanks! -Zhong -- 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] Can Watir verify the color?

2010-02-01 Thread de Villamil Frédéric
Le 1 févr. 2010 à 12:06, Yuping Zhong a écrit : Hi, I want to use the watir to verify the color for some cells that are in the table. Do watir have this function.If so,how to do that? Many thanks! -Zhong Hello, It depends on how the color is applied to the cell. But I guess

[wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow Leopard).

2010-02-01 Thread Yuping Zhong
Dear, I try to install the watir-webdriver on Mac 10.6 Snow Leopard and get the following: --- $ sudo gem install selenium-wedriver ERROR: could not find gem selenium-wedriver locally or in a repository Any idea of this? or should I do any other things before installing the

[wtr-general] What has happened to http://wtr.rubyforge.org/rdoc/ ?

2010-02-01 Thread Prajakta Jadhav
This page is showing some index instead of the Watir's RDoc with 3 lists. Did I miss something? When did this page change? -- 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

Re: [wtr-general] What has happened to http://wtr.rubyforge.org/rdoc/ ?

2010-02-01 Thread Željko Filipin
On Mon, Feb 1, 2010 at 12:33 PM, Prajakta Jadhav jadhav.praja...@gmail.com wrote: This page is showing some index instead of the Watir's RDoc with 3 lists. Marek created rdoc for Watir 1.6.5, and left the rdoc for 1.6.2. Click the one you want. Did I miss something? Apparently. :) Maybe it

Re: [wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow Leopard).

2010-02-01 Thread Bill Agee
Hi, In the command you pasted, the gem name is missing the b in webdriver: $ sudo gem install selenium-wedriver So maybe the error was due to the typo... Thanks Bill On Mon, Feb 1, 2010 at 3:23 AM, Yuping Zhong littlezhong...@gmail.comwrote: Dear, I try to install the watir-webdriver on

[wtr-general] Re: Watir debug logging

2010-02-01 Thread orde
Ruby has a Logger class: http://www.ruby-doc.org/core/classes/Logger.html It should deliver exactly what you're looking for. Hope it helps. orde On Feb 1, 2:02 am, fharper1961 fhar...@greenliff.com wrote: Hi everyone, I've started using Watir, and it would seem really useful if Watir could

Re: [wtr-general] What has happened to http://wtr.rubyforge.org/rdoc/ ?

2010-02-01 Thread marekj
Hi, I move the current rdoc for watir 1.6.2 to its current location http://wtr.rubyforge.org/rdoc/1.6.2 and made a new rdoc based on hanna template for release 1.6.5 http://wtr.rubyforge.org/rdoc/1.6.5 I also have generated yardoc files and I plan to put them somewhere. I can either leave the rdoc

Re: [wtr-general] Can Watir verify the color?

2010-02-01 Thread Wesley Chen
Try these below, I don't know whether they are you want or not: ie.#{element}(:id, foo).document.currentstyle.attributeAsCamelCase so ie.#{element}(:id, foo).document.currentstyle.fontFamily ie.#{element}(:id, foo).document.currentstyle.fontSize ie.#{element}(:id,

Re: [wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow Leopard).

2010-02-01 Thread Yuping Zhong
Thanks for Bill's great catch! It is fine now! On Tue, Feb 2, 2010 at 3:25 AM, Michael Hwee michael_h...@yahoo.com wrote: Good catch, Bill -- *From:* Bill Agee billa...@gmail.com *To:* watir-general@googlegroups.com *Sent:* Mon, February 1, 2010 7:57:57 AM

[wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
Dear All, I want to use the Watir to click a link that looks like a button. Give the following detail: li class=userMenuLink a href=/test/qty_curvesDemandnbsp;Curves/a /li I use the following methods,but doesn't works: @browser.link(:text,Demand Curves).click

Re: [wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Prajakta Jadhav
try @browser.link(:class,userMenuLink).click Actually if :text works in IE, it should work in FF. Yet you could give the above a try. -Prajakta On Tue, Feb 2, 2010 at 11:49 AM, Yuping Zhong littlezhong...@gmail.comwrote: Dear All, I want to use the Watir to click a link that looks like a

Re: [wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Ethan
Firefox returns a non-breaking space as its unicode representation, which is \302\240 in ruby. You can do @browser.link(:text, Demand\302\240Curves) (which won't work in IE) you can do @browser.link(:text, /Demand.Curves/) which should work in both browsers. I think. On Tue, Feb 2, 2010 at 01:29,

[wtr-general] Re: How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Tiffany Fodor
Hi Zhong! I think that different browsers handle non breaking space (nbsp;) differently, so you might want to use a regex to specify the text: @browser.link(:text, /Demand.*Curves/).click If this doesn't work, can you please give us the error message you get to help with troubleshooting? Hope

Re: [wtr-general] Re: How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
Hi Guys, @browser.link(:text, Demand\302\240Curves) @browser.link(:text, /Demand.Curves/) @browser.link(:text, /Demand.*Curves/) All work fine. Many thanks! -Zhong On Tue, Feb 2, 2010 at 2:47 PM, Tiffany Fodor tcfo...@comcast.net wrote: Hi Zhong! I think that different browsers handle non

[wtr-general] Re: .text method in Watir and FireWatir

2010-02-01 Thread Tiffany Fodor
I just had another couple of thoughts If you're looking at a select_list, you can get an array of the selected options like this: my_selected = browser.select_list(:id, 'my list').selected_options If there's only one item selected then it will be object at index 0 in the array:

[wtr-general] Re: Problem with .click method

2010-02-01 Thread Tiffany Fodor
Hi Betsy! Could you please provide more detail on your problem? Your code, the html you're testing and any error messages you're getting would help us troubleshoot. Thanks! -Tiffany On Feb 1, 10:53 pm, Betsy joybe...@gmail.com wrote: Hi all, We seem to be facing some issue with the .click

[wtr-general] Re: How to unsubscribe from wtr-general ?

2010-02-01 Thread Mary Subaidha
I would like to unsubscribe from this Watir General User List. Please do the needful. - Mary On Jan 14, 11:46 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hi Sushmitha! I'm not sure about the unsubscribe email address problem, but I've manually turned off your email notifications for Watir

Re: [wtr-general] .text method in Watir and FireWatir

2010-02-01 Thread Angrez Singh
Surely, will look into this. Can you open a JIRA ticket for the same? On Tue, Feb 2, 2010 at 11:26 AM, Betsy joybe...@gmail.com wrote: The .text method returns the complete text of an object including the text of the child objects if any in watir but in FireWatir, the same method behaves